From 8587c05d1ebc2de157707048e5f4df16a448f5e1 Mon Sep 17 00:00:00 2001 From: Marc Vaccaro Date: Sun, 20 Jan 2019 17:16:56 -0800 Subject: [PATCH] Remove unused things from solution --- Controllers/PhotosController.cs | 3 +-- Controllers/Resources/AddPhotoResource.cs | 3 --- Controllers/Resources/DetailPhotoResource.cs | 3 --- Controllers/Resources/DetailUserResource.cs | 5 +---- Controllers/Resources/ListUserResource.cs | 6 +----- Controllers/Resources/PhotoResource.cs | 3 --- Controllers/Resources/UpdateUserResource.cs | 7 +------ Controllers/UsersController.cs | 4 ---- Data/FriendRepository.cs | 3 +-- Data/IFriendRepository.cs | 2 -- Data/Seeds/Seeder.cs | 1 - Helpers/CloudSettings.cs | 7 +------ Helpers/MappingProfiles.cs | 4 ---- Models/Photo.cs | 3 --- 14 files changed, 6 insertions(+), 48 deletions(-) diff --git a/Controllers/PhotosController.cs b/Controllers/PhotosController.cs index e673b3c..4d38ad3 100644 --- a/Controllers/PhotosController.cs +++ b/Controllers/PhotosController.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using System.Linq; +using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using AutoMapper; diff --git a/Controllers/Resources/AddPhotoResource.cs b/Controllers/Resources/AddPhotoResource.cs index cf10d4c..bab9465 100644 --- a/Controllers/Resources/AddPhotoResource.cs +++ b/Controllers/Resources/AddPhotoResource.cs @@ -1,8 +1,5 @@ using Microsoft.AspNetCore.Http; using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; namespace Friendster.Controllers.Resources { diff --git a/Controllers/Resources/DetailPhotoResource.cs b/Controllers/Resources/DetailPhotoResource.cs index 3e3795c..e7464cb 100644 --- a/Controllers/Resources/DetailPhotoResource.cs +++ b/Controllers/Resources/DetailPhotoResource.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; namespace Friendster.Controllers.Resources { diff --git a/Controllers/Resources/DetailUserResource.cs b/Controllers/Resources/DetailUserResource.cs index ef3552b..b293a62 100644 --- a/Controllers/Resources/DetailUserResource.cs +++ b/Controllers/Resources/DetailUserResource.cs @@ -1,8 +1,5 @@ -using Friendster.Models; -using System; +using System; using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; namespace Friendster.Controllers.Resources { diff --git a/Controllers/Resources/ListUserResource.cs b/Controllers/Resources/ListUserResource.cs index f134b2d..9e0f7a3 100644 --- a/Controllers/Resources/ListUserResource.cs +++ b/Controllers/Resources/ListUserResource.cs @@ -1,8 +1,4 @@ -using Friendster.Models; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; +using System; namespace Friendster.Controllers.Resources { diff --git a/Controllers/Resources/PhotoResource.cs b/Controllers/Resources/PhotoResource.cs index 02d3f64..fb6ebe4 100644 --- a/Controllers/Resources/PhotoResource.cs +++ b/Controllers/Resources/PhotoResource.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; namespace Friendster.Controllers.Resources { diff --git a/Controllers/Resources/UpdateUserResource.cs b/Controllers/Resources/UpdateUserResource.cs index b514bfa..dd60187 100644 --- a/Controllers/Resources/UpdateUserResource.cs +++ b/Controllers/Resources/UpdateUserResource.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace Friendster.Controllers.Resources +namespace Friendster.Controllers.Resources { public class UpdateUserResource { diff --git a/Controllers/UsersController.cs b/Controllers/UsersController.cs index ed68117..9d25ab5 100644 --- a/Controllers/UsersController.cs +++ b/Controllers/UsersController.cs @@ -1,8 +1,6 @@ using System; using System.Collections.Generic; -using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; -using System.Text; using System.Threading.Tasks; using AutoMapper; using Friendster.Controllers.Resources; @@ -10,8 +8,6 @@ using Friendster.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Configuration; -using Microsoft.IdentityModel.Tokens; namespace Friendster.Controllers { diff --git a/Data/FriendRepository.cs b/Data/FriendRepository.cs index 3e5f8ba..324bbc3 100644 --- a/Data/FriendRepository.cs +++ b/Data/FriendRepository.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Friendster.Models; diff --git a/Data/IFriendRepository.cs b/Data/IFriendRepository.cs index 7ab5546..12bc1e7 100644 --- a/Data/IFriendRepository.cs +++ b/Data/IFriendRepository.cs @@ -1,7 +1,5 @@ using Friendster.Models; -using System; using System.Collections.Generic; -using System.Linq; using System.Threading.Tasks; namespace Friendster.Data diff --git a/Data/Seeds/Seeder.cs b/Data/Seeds/Seeder.cs index bb01218..1f9999c 100644 --- a/Data/Seeds/Seeder.cs +++ b/Data/Seeds/Seeder.cs @@ -6,7 +6,6 @@ using System.Linq; using System.Security.Cryptography; using System.Text; -using System.Threading.Tasks; namespace Friendster.Data { diff --git a/Helpers/CloudSettings.cs b/Helpers/CloudSettings.cs index e7f49c6..1ebc33a 100644 --- a/Helpers/CloudSettings.cs +++ b/Helpers/CloudSettings.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace Friendster.Helpers +namespace Friendster.Helpers { public class CloudSettings { diff --git a/Helpers/MappingProfiles.cs b/Helpers/MappingProfiles.cs index add8c91..29b2eee 100644 --- a/Helpers/MappingProfiles.cs +++ b/Helpers/MappingProfiles.cs @@ -1,11 +1,7 @@ using AutoMapper; using Friendster.Controllers.Resources; using Friendster.Models; -using Friendster.Helpers; -using System; -using System.Collections.Generic; using System.Linq; -using System.Threading.Tasks; namespace Friendster.Helpers { diff --git a/Models/Photo.cs b/Models/Photo.cs index 4a1b368..2752550 100644 --- a/Models/Photo.cs +++ b/Models/Photo.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; namespace Friendster.Models {