From 445c95d1b9b7ec5045f1a2eb1f5c58523358345f Mon Sep 17 00:00:00 2001 From: chsakell Date: Tue, 11 Oct 2016 10:06:27 +0300 Subject: [PATCH] remove unnecessary usings --- Controllers/FeedsController.cs | 4 ---- Controllers/MatchesController.cs | 3 --- Core/FeedEngine.cs | 1 - Data/Abstract/IEntityBaseRepository.cs | 2 -- Data/Abstract/IRepositories.cs | 6 +----- Data/LiveGameContext.cs | 3 --- Data/LiveGameDbInitializer.cs | 1 - Data/Repositories/EntityBaseRepository.cs | 1 - Models/IEntityBase.cs | 5 ----- Models/MatchTypeEnum.cs | 3 --- Program.cs | 4 ---- Startup.cs | 3 --- 12 files changed, 1 insertion(+), 35 deletions(-) diff --git a/Controllers/FeedsController.cs b/Controllers/FeedsController.cs index 659cbfc..f19798a 100644 --- a/Controllers/FeedsController.cs +++ b/Controllers/FeedsController.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR.Infrastructure; using LiveGameFeed.Hubs; diff --git a/Controllers/MatchesController.cs b/Controllers/MatchesController.cs index 4247f41..38f740a 100644 --- a/Controllers/MatchesController.cs +++ b/Controllers/MatchesController.cs @@ -1,7 +1,4 @@ -using System; using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR.Infrastructure; using LiveGameFeed.Hubs; diff --git a/Core/FeedEngine.cs b/Core/FeedEngine.cs index 1b732bd..f28561c 100644 --- a/Core/FeedEngine.cs +++ b/Core/FeedEngine.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Net; using System.Net.Http; using LiveGameFeed.Data.Abstract; using LiveGameFeed.Models; diff --git a/Data/Abstract/IEntityBaseRepository.cs b/Data/Abstract/IEntityBaseRepository.cs index ce85e83..356f9fd 100644 --- a/Data/Abstract/IEntityBaseRepository.cs +++ b/Data/Abstract/IEntityBaseRepository.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using System.Linq.Expressions; using LiveGameFeed.Models; diff --git a/Data/Abstract/IRepositories.cs b/Data/Abstract/IRepositories.cs index 81da001..f3e8725 100644 --- a/Data/Abstract/IRepositories.cs +++ b/Data/Abstract/IRepositories.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using LiveGameFeed.Models; +using LiveGameFeed.Models; namespace LiveGameFeed.Data.Abstract { diff --git a/Data/LiveGameContext.cs b/Data/LiveGameContext.cs index ef0f320..36f6ed1 100644 --- a/Data/LiveGameContext.cs +++ b/Data/LiveGameContext.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; using System.Linq; -using System.Threading.Tasks; using LiveGameFeed.Models; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; diff --git a/Data/LiveGameDbInitializer.cs b/Data/LiveGameDbInitializer.cs index f9ab0a1..8c9ec99 100644 --- a/Data/LiveGameDbInitializer.cs +++ b/Data/LiveGameDbInitializer.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading.Tasks; using LiveGameFeed.Models; namespace LiveGameFeed.Data diff --git a/Data/Repositories/EntityBaseRepository.cs b/Data/Repositories/EntityBaseRepository.cs index 5d998b6..0998f22 100644 --- a/Data/Repositories/EntityBaseRepository.cs +++ b/Data/Repositories/EntityBaseRepository.cs @@ -5,7 +5,6 @@ using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; -using System.Threading.Tasks; using LiveGameFeed.Models; namespace LiveGameFeed.Data.Repositories diff --git a/Models/IEntityBase.cs b/Models/IEntityBase.cs index c189729..71a64c0 100644 --- a/Models/IEntityBase.cs +++ b/Models/IEntityBase.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace LiveGameFeed.Models { public interface IEntityBase diff --git a/Models/MatchTypeEnum.cs b/Models/MatchTypeEnum.cs index 8aad977..fcd928f 100644 --- a/Models/MatchTypeEnum.cs +++ b/Models/MatchTypeEnum.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; - namespace LiveGameFeed.Models { public enum MatchTypeEnums { diff --git a/Program.cs b/Program.cs index 287602e..2ce5f3f 100644 --- a/Program.cs +++ b/Program.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; using System.IO; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; diff --git a/Startup.cs b/Startup.cs index 167af18..08d0a46 100644 --- a/Startup.cs +++ b/Startup.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using LiveGameFeed.Data; using LiveGameFeed.Data.Repositories; using LiveGameFeed.Data.Abstract;