From fcaf9fdba8832362cf198b021386e5b897a5e883 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sat, 14 Jan 2017 13:53:29 +0100 Subject: [PATCH] cleaning --- Yavsc/Controllers/InstrumentationController.cs | 3 --- Yavsc/Helpers/WorkflowHelpers.cs | 1 - .../20170113022807_SettingsClassName.Designer.cs | 1 - Yavsc/Migrations/20170113022807_SettingsClassName.cs | 2 -- .../20170113150714_instrumentationReloaded.Designer.cs | 1 - Yavsc/Migrations/20170113150714_instrumentationReloaded.cs | 2 -- Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs | 2 -- Yavsc/Models/ApplicationDbContext.cs | 1 - Yavsc/Models/Booking/MusicalPreference.cs | 7 +++---- Yavsc/Models/Booking/Profiles/DjSettings.cs | 3 --- Yavsc/Models/Booking/Profiles/FormationSettings.cs | 1 - Yavsc/Models/Booking/Profiles/GeneralSettings.cs | 2 -- Yavsc/Models/Booking/Profiles/Instrumentation.cs | 3 --- Yavsc/Models/Workflow/CoWorking.cs | 1 - 14 files changed, 3 insertions(+), 27 deletions(-) diff --git a/Yavsc/Controllers/InstrumentationController.cs b/Yavsc/Controllers/InstrumentationController.cs index db7c5508..c7f2ccd1 100644 --- a/Yavsc/Controllers/InstrumentationController.cs +++ b/Yavsc/Controllers/InstrumentationController.cs @@ -1,6 +1,4 @@ -using System; using System.Linq; -using System.Linq.Expressions; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Authorization; @@ -8,7 +6,6 @@ using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.Rendering; using Microsoft.Data.Entity; using Yavsc.Models; -using Yavsc.Models.Booking; using Yavsc.Models.Booking.Profiles; namespace Yavsc.Controllers diff --git a/Yavsc/Helpers/WorkflowHelpers.cs b/Yavsc/Helpers/WorkflowHelpers.cs index 2ccb70e7..d8b9f9c6 100644 --- a/Yavsc/Helpers/WorkflowHelpers.cs +++ b/Yavsc/Helpers/WorkflowHelpers.cs @@ -1,5 +1,4 @@ using Yavsc.Models; -using Yavsc.Models.Workflow; using YavscLib; namespace Yavsc.Helpers diff --git a/Yavsc/Migrations/20170113022807_SettingsClassName.Designer.cs b/Yavsc/Migrations/20170113022807_SettingsClassName.Designer.cs index dc6c3f4f..9160d0f2 100644 --- a/Yavsc/Migrations/20170113022807_SettingsClassName.Designer.cs +++ b/Yavsc/Migrations/20170113022807_SettingsClassName.Designer.cs @@ -1,7 +1,6 @@ using System; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Infrastructure; -using Microsoft.Data.Entity.Metadata; using Microsoft.Data.Entity.Migrations; using Yavsc.Models; diff --git a/Yavsc/Migrations/20170113022807_SettingsClassName.cs b/Yavsc/Migrations/20170113022807_SettingsClassName.cs index d5f2a264..e0753b11 100644 --- a/Yavsc/Migrations/20170113022807_SettingsClassName.cs +++ b/Yavsc/Migrations/20170113022807_SettingsClassName.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Microsoft.Data.Entity.Migrations; namespace Yavsc.Migrations diff --git a/Yavsc/Migrations/20170113150714_instrumentationReloaded.Designer.cs b/Yavsc/Migrations/20170113150714_instrumentationReloaded.Designer.cs index bd65cda2..4e89b209 100644 --- a/Yavsc/Migrations/20170113150714_instrumentationReloaded.Designer.cs +++ b/Yavsc/Migrations/20170113150714_instrumentationReloaded.Designer.cs @@ -1,7 +1,6 @@ using System; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Infrastructure; -using Microsoft.Data.Entity.Metadata; using Microsoft.Data.Entity.Migrations; using Yavsc.Models; diff --git a/Yavsc/Migrations/20170113150714_instrumentationReloaded.cs b/Yavsc/Migrations/20170113150714_instrumentationReloaded.cs index eceaadf4..28cd17ca 100644 --- a/Yavsc/Migrations/20170113150714_instrumentationReloaded.cs +++ b/Yavsc/Migrations/20170113150714_instrumentationReloaded.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Microsoft.Data.Entity.Migrations; namespace Yavsc.Migrations diff --git a/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs b/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs index 971852ed..b8f60800 100644 --- a/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,8 +1,6 @@ using System; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Infrastructure; -using Microsoft.Data.Entity.Metadata; -using Microsoft.Data.Entity.Migrations; using Yavsc.Models; namespace Yavsc.Migrations diff --git a/Yavsc/Models/ApplicationDbContext.cs b/Yavsc/Models/ApplicationDbContext.cs index b404fc7a..17c5d4ec 100644 --- a/Yavsc/Models/ApplicationDbContext.cs +++ b/Yavsc/Models/ApplicationDbContext.cs @@ -21,7 +21,6 @@ namespace Yavsc.Models using Messaging; using Access; using Yavsc.Models.Booking.Profiles; - using System.Collections.Generic; public class ApplicationDbContext : IdentityDbContext { diff --git a/Yavsc/Models/Booking/MusicalPreference.cs b/Yavsc/Models/Booking/MusicalPreference.cs index e2dd9be3..0670bdd6 100644 --- a/Yavsc/Models/Booking/MusicalPreference.cs +++ b/Yavsc/Models/Booking/MusicalPreference.cs @@ -1,11 +1,10 @@ using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using Yavsc.Models.Workflow; -namespace Yavsc.Models.Booking { +namespace Yavsc.Models.Booking +{ - public class MusicalPreference { + public class MusicalPreference { [Key] public string OwnerProfileId diff --git a/Yavsc/Models/Booking/Profiles/DjSettings.cs b/Yavsc/Models/Booking/Profiles/DjSettings.cs index 6087a411..8df23225 100644 --- a/Yavsc/Models/Booking/Profiles/DjSettings.cs +++ b/Yavsc/Models/Booking/Profiles/DjSettings.cs @@ -1,8 +1,5 @@ -using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using Yavsc.Models.Workflow; using YavscLib; namespace Yavsc.Models.Booking.Profiles diff --git a/Yavsc/Models/Booking/Profiles/FormationSettings.cs b/Yavsc/Models/Booking/Profiles/FormationSettings.cs index 3254374c..b0d9abdb 100644 --- a/Yavsc/Models/Booking/Profiles/FormationSettings.cs +++ b/Yavsc/Models/Booking/Profiles/FormationSettings.cs @@ -1,6 +1,5 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; namespace Yavsc.Models.Booking.Profiles { diff --git a/Yavsc/Models/Booking/Profiles/GeneralSettings.cs b/Yavsc/Models/Booking/Profiles/GeneralSettings.cs index 1a2e7d90..860af32f 100644 --- a/Yavsc/Models/Booking/Profiles/GeneralSettings.cs +++ b/Yavsc/Models/Booking/Profiles/GeneralSettings.cs @@ -1,7 +1,5 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using Yavsc.Models.Workflow; using YavscLib; namespace Yavsc.Models.Booking.Profiles diff --git a/Yavsc/Models/Booking/Profiles/Instrumentation.cs b/Yavsc/Models/Booking/Profiles/Instrumentation.cs index 3b772c4c..f2f7c0ff 100644 --- a/Yavsc/Models/Booking/Profiles/Instrumentation.cs +++ b/Yavsc/Models/Booking/Profiles/Instrumentation.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Yavsc.Models.Workflow; using YavscLib; diff --git a/Yavsc/Models/Workflow/CoWorking.cs b/Yavsc/Models/Workflow/CoWorking.cs index acfac019..880b465a 100644 --- a/Yavsc/Models/Workflow/CoWorking.cs +++ b/Yavsc/Models/Workflow/CoWorking.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema;