diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Configuration/FileUploadSettingsModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Configuration/FileUploadSettingsModel.cs index 4232a6269..751f0ee45 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Configuration/FileUploadSettingsModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Configuration/FileUploadSettingsModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Configuration +namespace LearningHub.Nhs.AdminUI.Configuration { /// /// Defines the . diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Configuration/WebSettings.cs b/AdminUI/LearningHub.Nhs.AdminUI/Configuration/WebSettings.cs index 0e9d025c3..ace067941 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Configuration/WebSettings.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Configuration/WebSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Configuration +namespace LearningHub.Nhs.AdminUI.Configuration { using System; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/AuthorisationController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/AuthorisationController.cs index df8cbd9af..3f56b78dc 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/AuthorisationController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/AuthorisationController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using Microsoft.AspNetCore.Mvc; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/BaseController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/BaseController.cs index 7f24f6400..90fd149ce 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/BaseController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/BaseController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Hosting; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CacheController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CacheController.cs index 411d342b4..a8b1e94c5 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CacheController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CacheController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.AdminUI.Interfaces; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CatalogueController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CatalogueController.cs index 3b27f9aed..d03f1f84c 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CatalogueController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CatalogueController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CmsController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CmsController.cs index 8dbc83845..0f04eafaf 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CmsController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/CmsController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ExternalSystemController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ExternalSystemController.cs index e20a8ca56..97d19066c 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ExternalSystemController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ExternalSystemController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System; using System.Linq; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/FileController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/FileController.cs index 822773c76..1892ebb4f 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/FileController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/FileController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.AdminUI.Interfaces; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/HomeController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/HomeController.cs index 8d6dea8ed..8052e9703 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/HomeController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/HomeController.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.AdminUI.Controllers { using System; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/LogController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/LogController.cs index 6d5c997c0..fc6d7a7d1 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/LogController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/LogController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System.Collections.Generic; using System.Linq; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/LogoutController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/LogoutController.cs index a7727c0d4..2ec4929d4 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/LogoutController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/LogoutController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/MediaController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/MediaController.cs index 264dd30c2..296d2e5d6 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/MediaController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/MediaController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System.Threading.Tasks; using Azure.Storage.Blobs.Models; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/NotificationsController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/NotificationsController.cs index 5cde412d1..7e3492a5d 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/NotificationsController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/NotificationsController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ReleaseController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ReleaseController.cs index ef3a43b05..86c3b8cde 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ReleaseController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ReleaseController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System.Linq; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ResourceController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ResourceController.cs index af0dd4d7b..91c5052af 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ResourceController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ResourceController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ResourceSyncController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ResourceSyncController.cs index e48302b2e..b250113bd 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ResourceSyncController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/ResourceSyncController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.AdminUI.Interfaces; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/RoadmapController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/RoadmapController.cs index 668b382d8..319c8938c 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/RoadmapController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/RoadmapController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System; using System.Linq; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/UserController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/UserController.cs index 0f76ae614..14fee0208 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/UserController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/UserController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/UserGroupController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/UserGroupController.cs index 9fbfecbf8..3a27787f4 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/UserGroupController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/UserGroupController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers +namespace LearningHub.Nhs.AdminUI.Controllers { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/BaseApiController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/BaseApiController.cs index c24782968..146163269 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/BaseApiController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/BaseApiController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers.Api +namespace LearningHub.Nhs.AdminUI.Controllers.Api { using LearningHub.Nhs.Models.Extensions; using Microsoft.AspNetCore.Mvc; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/ContentController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/ContentController.cs index 1b21e95fe..aa2df23b1 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/ContentController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/ContentController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System; using System.Configuration; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/HierarchyController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/HierarchyController.cs index 1da7015cf..7833c08e2 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/HierarchyController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/HierarchyController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Collections.Generic; using System.Linq; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/MediaManifestProxyController.cs b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/MediaManifestProxyController.cs index 3e6b0a8ca..2cf327f6e 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/MediaManifestProxyController.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/MediaManifestProxyController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Controllers.Api +namespace LearningHub.Nhs.AdminUI.Controllers.Api { using System; using System.Globalization; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Extensions/ClaimsPrincipalExtensions.cs b/AdminUI/LearningHub.Nhs.AdminUI/Extensions/ClaimsPrincipalExtensions.cs index bf96022dc..e7c7f0fc6 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Extensions/ClaimsPrincipalExtensions.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Extensions/ClaimsPrincipalExtensions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Extensions +namespace LearningHub.Nhs.AdminUI.Extensions { using System; using System.Security.Claims; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Extensions/PagingRequestModelExtensions.cs b/AdminUI/LearningHub.Nhs.AdminUI/Extensions/PagingRequestModelExtensions.cs index 793cbfa9e..78445e061 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Extensions/PagingRequestModelExtensions.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Extensions/PagingRequestModelExtensions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Extensions +namespace LearningHub.Nhs.AdminUI.Extensions { using System; using LearningHub.Nhs.Models.Common.Enums; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Filters/CheckInitialLogonFilter.cs b/AdminUI/LearningHub.Nhs.AdminUI/Filters/CheckInitialLogonFilter.cs index 83e61f075..3e07e56f7 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Filters/CheckInitialLogonFilter.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Filters/CheckInitialLogonFilter.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Filters +namespace LearningHub.Nhs.AdminUI.Filters { using System.Threading.Tasks; using LearningHub.Nhs.AdminUI.Helpers; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ImportModelStateAttribute.cs b/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ImportModelStateAttribute.cs index 23e255d36..dbaf67ce8 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ImportModelStateAttribute.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ImportModelStateAttribute.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Filters.PRG +namespace LearningHub.Nhs.AdminUI.Filters.PRG { using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateHelpers.cs b/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateHelpers.cs index d1a5b970f..54fd162a9 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateHelpers.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateHelpers.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Filters.PRG +namespace LearningHub.Nhs.AdminUI.Filters.PRG { using System.Collections.Generic; using System.Linq; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateTransfer.cs b/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateTransfer.cs index af96db8d7..7a9cdcf25 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateTransfer.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateTransfer.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Filters.PRG +namespace LearningHub.Nhs.AdminUI.Filters.PRG { using Microsoft.AspNetCore.Mvc.Filters; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateTransferValue.cs b/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateTransferValue.cs index c6284b230..c4c019c26 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateTransferValue.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Filters/PRG/ModelStateTransferValue.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Filters.PRG +namespace LearningHub.Nhs.AdminUI.Filters.PRG { using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Handlers/CookieEventHandler.cs b/AdminUI/LearningHub.Nhs.AdminUI/Handlers/CookieEventHandler.cs index 3bb049ec3..fee3b1f2d 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Handlers/CookieEventHandler.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Handlers/CookieEventHandler.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Handlers +namespace LearningHub.Nhs.AdminUI.Handlers { using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Handlers/LogoutUserManager.cs b/AdminUI/LearningHub.Nhs.AdminUI/Handlers/LogoutUserManager.cs index e69eef113..b3fc5d155 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Handlers/LogoutUserManager.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Handlers/LogoutUserManager.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Handlers +namespace LearningHub.Nhs.AdminUI.Handlers { using System.Collections.Generic; using System.Linq; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/ILearningHubApiFacade.cs b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/ILearningHubApiFacade.cs index aef67ac1e..0a653eb9a 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/ILearningHubApiFacade.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/ILearningHubApiFacade.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Helpers +namespace LearningHub.Nhs.AdminUI.Helpers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/IUserSessionHelper.cs b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/IUserSessionHelper.cs index f630a84bb..57e80c472 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/IUserSessionHelper.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/IUserSessionHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Helpers +namespace LearningHub.Nhs.AdminUI.Helpers { using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/LearningActivityHelper.cs b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/LearningActivityHelper.cs index fc22bc3b9..f421ac86c 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/LearningActivityHelper.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/LearningActivityHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Helpers +namespace LearningHub.Nhs.AdminUI.Helpers { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/LearningHubApiFacade.cs b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/LearningHubApiFacade.cs index 78eb108dc..344fcee20 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/LearningHubApiFacade.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/LearningHubApiFacade.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Helpers +namespace LearningHub.Nhs.AdminUI.Helpers { using System; using System.Net.Http; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/ResourceAccessiblityHelper.cs b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/ResourceAccessiblityHelper.cs index b0ec383f0..c5c06a228 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/ResourceAccessiblityHelper.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/ResourceAccessiblityHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Helpers +namespace LearningHub.Nhs.AdminUI.Helpers { using LearningHub.Nhs.Models.Enums; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/UserRoleHelper.cs b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/UserRoleHelper.cs index 70277bffb..f97668fb4 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/UserRoleHelper.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/UserRoleHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Helpers +namespace LearningHub.Nhs.AdminUI.Helpers { using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/UserSessionHelper.cs b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/UserSessionHelper.cs index 977b27fbb..017142501 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Helpers/UserSessionHelper.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Helpers/UserSessionHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Helpers +namespace LearningHub.Nhs.AdminUI.Helpers { using System.Threading.Tasks; using elfhHub.Nhs.Models.Common; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IAzureMediaService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IAzureMediaService.cs index 080d2f6cc..0020359a4 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IAzureMediaService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IAzureMediaService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Threading.Tasks; using Azure.Storage.Blobs.Models; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ICatalogueService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ICatalogueService.cs index 1961a1c73..f6bffaec9 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ICatalogueService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ICatalogueService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IContentService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IContentService.cs index 5bfad52ed..64e3bf732 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IContentService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IContentService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.AdminUI.Models; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IEventService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IEventService.cs index 5cf6ef4d2..82b2d6751 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IEventService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IEventService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Analytics; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IExternalSystemService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IExternalSystemService.cs index 1432f1072..bd5c5dbd4 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IExternalSystemService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IExternalSystemService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IFileService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IFileService.cs index 76e9438a2..3d8a80b92 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IFileService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IFileService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.IO; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IHierarchyService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IHierarchyService.cs index 0cb5d1a91..8d5eb7f23 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IHierarchyService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IHierarchyService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IInternalSystemService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IInternalSystemService.cs index b7c9bebd4..10814c967 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IInternalSystemService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IInternalSystemService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ILearningHubHttpClient.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ILearningHubHttpClient.cs index 394473a3e..1becee48c 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ILearningHubHttpClient.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ILearningHubHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Net.Http; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ILogService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ILogService.cs index cfe1bf606..7ae5ab3c4 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ILogService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/ILogService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/INotificationService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/INotificationService.cs index 0293e4d00..ec2bc84d1 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/INotificationService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/INotificationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IProviderService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IProviderService.cs index 53216dcd0..27d2788a1 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IProviderService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IProviderService.cs @@ -1,5 +1,5 @@ -// -// Copyright (c) HEE.nhs.uk. +// +// Copyright (c) NHS England. // namespace LearningHub.Nhs.AdminUI.Interfaces { diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IResourceService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IResourceService.cs index e682b6b5f..826c98b55 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IResourceService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IResourceService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IResourceSyncService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IResourceSyncService.cs index d762b9cd8..467e96528 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IResourceSyncService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IResourceSyncService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IRoadmapService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IRoadmapService.cs index 90e89780e..cb96b6037 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IRoadmapService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IRoadmapService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IRoleService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IRoleService.cs index 988b1fffa..026315c8d 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IRoleService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IRoleService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserApiHttpClient.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserApiHttpClient.cs index 3ac3cb600..1697093fa 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserApiHttpClient.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserApiHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Net.Http; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserGroupService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserGroupService.cs index b2aad1f8a..ef3bc08f7 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserGroupService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserGroupService.cs @@ -1,5 +1,5 @@ -// -// Copyright (c) HEE.nhs.uk. +// +// Copyright (c) NHS England. // namespace LearningHub.Nhs.AdminUI.Interfaces { diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserService.cs index 581b54e4d..ac7bfc690 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IUserService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Interfaces +namespace LearningHub.Nhs.AdminUI.Interfaces { using System.Threading.Tasks; using elfhHub.Nhs.Models.Common; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/LearningHub.Nhs.AdminUI.csproj b/AdminUI/LearningHub.Nhs.AdminUI/LearningHub.Nhs.AdminUI.csproj index 89241ab9f..337bb21f5 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/LearningHub.Nhs.AdminUI.csproj +++ b/AdminUI/LearningHub.Nhs.AdminUI/LearningHub.Nhs.AdminUI.csproj @@ -89,7 +89,7 @@ - + diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Middleware/ExceptionMiddleware.cs b/AdminUI/LearningHub.Nhs.AdminUI/Middleware/ExceptionMiddleware.cs index c96934b17..a953e16e5 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Middleware/ExceptionMiddleware.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Middleware/ExceptionMiddleware.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Middleware +namespace LearningHub.Nhs.AdminUI.Middleware { using System; using System.Net; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Middleware/NLogMiddleware.cs b/AdminUI/LearningHub.Nhs.AdminUI/Middleware/NLogMiddleware.cs index cbe57bb15..943be148e 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Middleware/NLogMiddleware.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Middleware/NLogMiddleware.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Middleware +namespace LearningHub.Nhs.AdminUI.Middleware { using System.Threading.Tasks; using LearningHub.Nhs.Models.Extensions; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Middleware/TimezoneInfoMiddleware.cs b/AdminUI/LearningHub.Nhs.AdminUI/Middleware/TimezoneInfoMiddleware.cs index a38ae7b0f..8a7502cb7 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Middleware/TimezoneInfoMiddleware.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Middleware/TimezoneInfoMiddleware.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Middleware +namespace LearningHub.Nhs.AdminUI.Middleware { using System.Threading.Tasks; using LearningHub.Nhs.AdminUI.Extensions; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/CatalogueAdminPageViewModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/CatalogueAdminPageViewModel.cs index dee046a17..b1f2c3244 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/CatalogueAdminPageViewModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/CatalogueAdminPageViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { using LearningHub.Nhs.Models.Catalogue; using LearningHub.Nhs.Models.Paging; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/CatalogueNavViewModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/CatalogueNavViewModel.cs index 995179de5..502206549 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/CatalogueNavViewModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/CatalogueNavViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { /// /// Defines the CatalogueNavPage. diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/ContactViewModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/ContactViewModel.cs index bc0d0e15c..377771ff4 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/ContactViewModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/ContactViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { using System.ComponentModel.DataAnnotations; using LearningHub.Nhs.Models.Binders; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/ErrorViewModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/ErrorViewModel.cs index ed1f78f43..9259de0b8 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/ErrorViewModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/ErrorViewModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.AdminUI.Models { /// diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkProcessModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkProcessModel.cs index 82bd84a15..b811df071 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkProcessModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkProcessModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { /// /// Defines the . diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkRegisterModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkRegisterModel.cs index 05b79904f..f7581b105 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkRegisterModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkRegisterModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { /// /// Defines the . diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkUploadResult.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkUploadResult.cs index f8be0441c..34d694e86 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkUploadResult.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileChunkUploadResult.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { /// /// Defines the . diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadResult.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadResult.cs index 9c47a93fc..818119922 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadResult.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadResult.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { using LearningHub.Nhs.Models.Enums; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadTypeEnum.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadTypeEnum.cs index f25627137..53ebc94b3 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadTypeEnum.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadTypeEnum.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { /// /// Defines the FileUploadTypeEnum. diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadValidationModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadValidationModel.cs index b9f99b96c..24950d8e8 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadValidationModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/FileUploadValidationModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { using Microsoft.AspNetCore.Http; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/PagingOptionPair.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/PagingOptionPair.cs index fbb6e6bd0..239664ea7 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/PagingOptionPair.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/PagingOptionPair.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { /// /// Defines the PagingOptionPair. diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/ResourceSyncSingleViewModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/ResourceSyncSingleViewModel.cs index 2ba0a101f..5be62ed4d 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/ResourceSyncSingleViewModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/ResourceSyncSingleViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { /// /// Defines the . diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/ResourceSyncViewModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/ResourceSyncViewModel.cs index 6f61e50dc..28d69b3bf 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/ResourceSyncViewModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/ResourceSyncViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/TenantViewModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/TenantViewModel.cs index 4b218a64a..adc04a8fd 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/TenantViewModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/TenantViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { /// /// Defines the . diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/UpdateViewModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/UpdateViewModel.cs index 00b19682d..1aeb2fd86 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/UpdateViewModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/UpdateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { using System; using System.ComponentModel.DataAnnotations; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/UploadSettingsModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/UploadSettingsModel.cs index 0be4341c7..9a9bb4049 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/UploadSettingsModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/UploadSettingsModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Contribute +namespace LearningHub.Nhs.WebUI.Models.Contribute { using LearningHub.Nhs.AdminUI.Configuration; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Models/UserViewModel.cs b/AdminUI/LearningHub.Nhs.AdminUI/Models/UserViewModel.cs index 92a872eb2..0bac79cff 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Models/UserViewModel.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Models/UserViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Models +namespace LearningHub.Nhs.AdminUI.Models { using System; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Program.cs b/AdminUI/LearningHub.Nhs.AdminUI/Program.cs index b4ef6b323..2e14ef9d9 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Program.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Program.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -#pragma warning disable SA1200 // Using directives should be placed correctly +#pragma warning disable SA1200 // Using directives should be placed correctly using System; using LearningHub.Nhs.AdminUI; using LearningHub.Nhs.AdminUI.Middleware; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/ServiceCollectionExtension.cs b/AdminUI/LearningHub.Nhs.AdminUI/ServiceCollectionExtension.cs index e4357ca04..3b1cd833f 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/ServiceCollectionExtension.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/ServiceCollectionExtension.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI +namespace LearningHub.Nhs.AdminUI { using System; using System.IdentityModel.Tokens.Jwt; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/AzureMediaService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/AzureMediaService.cs index e288d083f..b71e49d68 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/AzureMediaService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/AzureMediaService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Globalization; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/BaseHttpClient.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/BaseHttpClient.cs index f4390c842..00cd33837 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/BaseHttpClient.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/BaseHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/BaseService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/BaseService.cs index 71d891521..ab2a377e8 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/BaseService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/BaseService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using LearningHub.Nhs.AdminUI.Interfaces; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/CatalogueService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/CatalogueService.cs index 2f5b4a004..1fa44df2b 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/CatalogueService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/CatalogueService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System.Collections.Generic; using System.Net; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/ContentService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/ContentService.cs index 34b43581e..d49cd8422 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/ContentService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/ContentService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/EventService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/EventService.cs index 49130cbe2..000fce940 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/EventService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/EventService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Net.Http; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/ExternalSystemService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/ExternalSystemService.cs index 93d1fc879..094757b46 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/ExternalSystemService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/ExternalSystemService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Net.Http; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/FileService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/FileService.cs index 3da1a0be9..7998020b6 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/FileService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/FileService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.IO; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/HierarchyService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/HierarchyService.cs index f457caeb0..b408cb637 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/HierarchyService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/HierarchyService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/InternalSystemService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/InternalSystemService.cs index 466a376eb..b4a23a074 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/InternalSystemService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/InternalSystemService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/LearningHubHttpClient.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/LearningHubHttpClient.cs index d1deeedcc..48ff81cb6 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/LearningHubHttpClient.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/LearningHubHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System.Net.Http; using LearningHub.Nhs.AdminUI.Configuration; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/LogService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/LogService.cs index c0d4110b4..8aebbd7a4 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/LogService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/LogService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Threading.Tasks; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/NotificationService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/NotificationService.cs index 92d9444de..adf69800c 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/NotificationService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/NotificationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Net.Http; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/OutputSanitizer.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/OutputSanitizer.cs index 44ba2324b..8fc4ebb9f 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/OutputSanitizer.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/OutputSanitizer.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using Ganss.XSS; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/ProviderService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/ProviderService.cs index 1e24ad11f..eeb6976f9 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/ProviderService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/ProviderService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/ResourceService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/ResourceService.cs index 11f8f8b20..d0d595b52 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/ResourceService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/ResourceService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/ResourceSyncService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/ResourceSyncService.cs index bf54f6599..1c90f227f 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/ResourceSyncService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/ResourceSyncService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/RoadmapService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/RoadmapService.cs index 79f4b72ed..bf4878d8b 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/RoadmapService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/RoadmapService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/RoleService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/RoleService.cs index 5ae57b372..7b435cca0 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/RoleService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/RoleService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/UserApiHttpClient.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/UserApiHttpClient.cs index 5496cf8e5..5af8f9bec 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/UserApiHttpClient.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/UserApiHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System.Net.Http; using LearningHub.Nhs.AdminUI.Configuration; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/UserGroupService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/UserGroupService.cs index bcf352698..45dff59de 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/UserGroupService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/UserGroupService.cs @@ -1,5 +1,5 @@ -// -// Copyright (c) HEE.nhs.uk. +// +// Copyright (c) NHS England. // namespace LearningHub.Nhs.AdminUI.Services { diff --git a/AdminUI/LearningHub.Nhs.AdminUI/Services/UserService.cs b/AdminUI/LearningHub.Nhs.AdminUI/Services/UserService.cs index b50b02b78..7c64fd2c0 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/Services/UserService.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/Services/UserService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.Services +namespace LearningHub.Nhs.AdminUI.Services { using System; using System.Collections.Generic; diff --git a/AdminUI/LearningHub.Nhs.AdminUI/TagHelpers/ImageInputTagHelper.cs b/AdminUI/LearningHub.Nhs.AdminUI/TagHelpers/ImageInputTagHelper.cs index 46acb2207..a651925ef 100644 --- a/AdminUI/LearningHub.Nhs.AdminUI/TagHelpers/ImageInputTagHelper.cs +++ b/AdminUI/LearningHub.Nhs.AdminUI/TagHelpers/ImageInputTagHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.AdminUI.TagHelpers +namespace LearningHub.Nhs.AdminUI.TagHelpers { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Attributes/NoWhitespaceAttribute.cs b/LearningHub.Nhs.WebUI/Attributes/NoWhitespaceAttribute.cs index 492a10429..7e8e18f9f 100644 --- a/LearningHub.Nhs.WebUI/Attributes/NoWhitespaceAttribute.cs +++ b/LearningHub.Nhs.WebUI/Attributes/NoWhitespaceAttribute.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Attributes +namespace LearningHub.Nhs.WebUI.Attributes { using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Configuration/AzureBlobSettings.cs b/LearningHub.Nhs.WebUI/Configuration/AzureBlobSettings.cs index a91d3bb06..6d8a37b8e 100644 --- a/LearningHub.Nhs.WebUI/Configuration/AzureBlobSettings.cs +++ b/LearningHub.Nhs.WebUI/Configuration/AzureBlobSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Configuration +namespace LearningHub.Nhs.WebUI.Configuration { /// /// Config AzureBlobSettings. diff --git a/LearningHub.Nhs.WebUI/Configuration/FindwiseSettings.cs b/LearningHub.Nhs.WebUI/Configuration/FindwiseSettings.cs index da389b90c..dcac6798d 100644 --- a/LearningHub.Nhs.WebUI/Configuration/FindwiseSettings.cs +++ b/LearningHub.Nhs.WebUI/Configuration/FindwiseSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Configuration +namespace LearningHub.Nhs.WebUI.Configuration { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Configuration/LearningHubAuthServiceConfig.cs b/LearningHub.Nhs.WebUI/Configuration/LearningHubAuthServiceConfig.cs index 278cd2523..840291aa3 100644 --- a/LearningHub.Nhs.WebUI/Configuration/LearningHubAuthServiceConfig.cs +++ b/LearningHub.Nhs.WebUI/Configuration/LearningHubAuthServiceConfig.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Configuration +namespace LearningHub.Nhs.WebUI.Configuration { /// /// The learning hub auth service config. diff --git a/LearningHub.Nhs.WebUI/Configuration/OpenAthens.cs b/LearningHub.Nhs.WebUI/Configuration/OpenAthens.cs index dfa06724b..512773ecd 100644 --- a/LearningHub.Nhs.WebUI/Configuration/OpenAthens.cs +++ b/LearningHub.Nhs.WebUI/Configuration/OpenAthens.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Configuration +namespace LearningHub.Nhs.WebUI.Configuration { /// /// The OpenAthens. diff --git a/LearningHub.Nhs.WebUI/Configuration/Settings.cs b/LearningHub.Nhs.WebUI/Configuration/Settings.cs index 5958105a8..0ef2e69af 100644 --- a/LearningHub.Nhs.WebUI/Configuration/Settings.cs +++ b/LearningHub.Nhs.WebUI/Configuration/Settings.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Configuration { using System; diff --git a/LearningHub.Nhs.WebUI/Configuration/SocialMediaSharingUrls.cs b/LearningHub.Nhs.WebUI/Configuration/SocialMediaSharingUrls.cs index ca4d7e025..524673c1b 100644 --- a/LearningHub.Nhs.WebUI/Configuration/SocialMediaSharingUrls.cs +++ b/LearningHub.Nhs.WebUI/Configuration/SocialMediaSharingUrls.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Configuration +namespace LearningHub.Nhs.WebUI.Configuration { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Configuration/SupportUrls.cs b/LearningHub.Nhs.WebUI/Configuration/SupportUrls.cs index 9a35958b0..f6578a67b 100644 --- a/LearningHub.Nhs.WebUI/Configuration/SupportUrls.cs +++ b/LearningHub.Nhs.WebUI/Configuration/SupportUrls.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Configuration +namespace LearningHub.Nhs.WebUI.Configuration { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Configuration/TwitterSettings.cs b/LearningHub.Nhs.WebUI/Configuration/TwitterSettings.cs index 14a487ce6..40f58c8ab 100644 --- a/LearningHub.Nhs.WebUI/Configuration/TwitterSettings.cs +++ b/LearningHub.Nhs.WebUI/Configuration/TwitterSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Configuration +namespace LearningHub.Nhs.WebUI.Configuration { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Controllers/AccountController.cs b/LearningHub.Nhs.WebUI/Controllers/AccountController.cs index d8c324d1d..2f000ea71 100644 --- a/LearningHub.Nhs.WebUI/Controllers/AccountController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/AccountController.cs @@ -1,13 +1,11 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { + using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; + using System.Text.RegularExpressions; using System.Threading.Tasks; using elfhHub.Nhs.Models.Common; using elfhHub.Nhs.Models.Entities; @@ -431,6 +429,15 @@ public async Task CreateAccountCountrySearch() public async Task CreateAccountCountrySelection(AccountCreationViewModel accountCreationViewModel) { var accountDetails = await this.multiPageFormService.GetMultiPageFormData(MultiPageFormDataFeature.AddRegistrationPrompt, this.TempData); + if (!string.IsNullOrWhiteSpace(accountCreationViewModel.FilterText)) + { + string filterText = Regex.Replace(accountCreationViewModel.FilterText, "[:!@#$%^&*()}{|\":?><\\[\\]\\;'/.,~\\\"\"\\'\\\\/]", " "); + if (string.IsNullOrWhiteSpace(filterText)) + { + this.ModelState.AddModelError("FilterText", CommonValidationErrorMessages.SearchTermRequired); + return this.View("CreateAccountCountrySearch", accountCreationViewModel); + } + } if (string.IsNullOrWhiteSpace(accountCreationViewModel.FilterText)) { @@ -568,6 +575,16 @@ public async Task CreateAccountSearchRole(AccountCreationViewMode public async Task CreateAccountCurrentRole(AccountCreationViewModel accountCreationViewModel) { var accountCreation = await this.multiPageFormService.GetMultiPageFormData(MultiPageFormDataFeature.AddRegistrationPrompt, this.TempData); + if (!string.IsNullOrWhiteSpace(accountCreationViewModel.FilterText)) + { + string filterText = Regex.Replace(accountCreationViewModel.FilterText, "[:!@#$%^&*()}{|\":?><\\[\\]\\;'/.,~\\\"\"\\'\\\\/]", " "); + if (string.IsNullOrWhiteSpace(filterText)) + { + this.ModelState.AddModelError("FilterText", CommonValidationErrorMessages.SearchTermRequired); + return this.View("CreateAccountSearchRole", new AccountCreationViewModel { RegionId = accountCreation.RegionId, ReturnToConfirmation = accountCreationViewModel.ReturnToConfirmation }); + } + } + if (string.IsNullOrWhiteSpace(accountCreationViewModel.FilterText)) { var currentJobRole = int.TryParse(accountCreation.CurrentRole, out int currentRole); @@ -752,6 +769,18 @@ public async Task CreateAccountPrimarySpecialtySelection(AccountC } var optionalSpecialty = await this.specialtyService.GetSpecialtiesAsync(); + if (!string.IsNullOrWhiteSpace(accountCreationViewModel.FilterText)) + { + string filterText = Regex.Replace(accountCreationViewModel.FilterText, "[:!@#$%^&*()}{|\":?><\\[\\]\\;'/.,~\\\"\"\\'\\\\/]", " "); + if (string.IsNullOrWhiteSpace(filterText)) + { + this.ModelState.AddModelError("PrimarySpecialtyId", CommonValidationErrorMessages.SpecialtyNotApplicable); + accountCreationViewModel.RegistrationNumber = accountCreation.RegistrationNumber; + accountCreationViewModel.CurrentRole = accountCreation.CurrentRole; + return this.View("CreateAccountPrimarySpecialty", accountCreationViewModel); + } + } + if (string.IsNullOrWhiteSpace(accountCreationViewModel.FilterText)) { if (!string.IsNullOrWhiteSpace(accountCreation.PrimarySpecialtyId)) diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/ActivityController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/ActivityController.cs index 781c5f321..5bd17f324 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/ActivityController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/ActivityController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.Models.Resource.Activity; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/BaseApiController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/BaseApiController.cs index 4bc9336c5..f9f7f06dc 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/BaseApiController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/BaseApiController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using LearningHub.Nhs.Models.Extensions; using Microsoft.AspNetCore.Mvc; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/BookmarkController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/BookmarkController.cs index 135a5b327..961cccc65 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/BookmarkController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/BookmarkController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.Models.Bookmark; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/CardController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/CardController.cs index 691a722ac..4a02c3409 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/CardController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/CardController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/CatalogueController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/CatalogueController.cs index 0a6b1b4ce..0bec9e8d3 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/CatalogueController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/CatalogueController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.Models.Catalogue; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/ContentController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/ContentController.cs index 4716b7cce..a0117eb50 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/ContentController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/ContentController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.WebUI.Interfaces; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/ContributeController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/ContributeController.cs index e86c053f8..5bacf44d1 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/ContributeController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/ContributeController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System; using System.Net; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/CountryController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/CountryController.cs index f86b270af..63a69d9dc 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/CountryController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/CountryController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.WebUI.Interfaces; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/DashboardController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/DashboardController.cs index a3c4405ce..9566dca64 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/DashboardController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/DashboardController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.Models.Enums; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/GradeController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/GradeController.cs index 082307892..507daf566 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/GradeController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/GradeController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.WebUI.Interfaces; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/HierarchyController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/HierarchyController.cs index 9cffb43c6..6c0cb5b26 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/HierarchyController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/HierarchyController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/JobRoleController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/JobRoleController.cs index d74dc7191..3900f6aa1 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/JobRoleController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/JobRoleController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.WebUI.Interfaces; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/LocationController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/LocationController.cs index 748fe309a..052e83242 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/LocationController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/LocationController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.WebUI.Interfaces; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/MediaManifestProxyController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/MediaManifestProxyController.cs index b0012b46c..b8760cbdf 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/MediaManifestProxyController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/MediaManifestProxyController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System; using System.Globalization; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/MyLearningController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/MyLearningController.cs index b25050104..bcd13c08a 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/MyLearningController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/MyLearningController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.Models.MyLearning; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/ProviderController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/ProviderController.cs index 725d60b6a..ae3ccb97d 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/ProviderController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/ProviderController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.WebUI.Interfaces; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/RatingController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/RatingController.cs index 19c14e59f..d7c945c99 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/RatingController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/RatingController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/RegionController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/RegionController.cs index 87b833f03..d224d10c6 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/RegionController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/RegionController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.WebUI.Interfaces; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/RegistrationController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/RegistrationController.cs index 3221c4d99..10c0a963f 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/RegistrationController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/RegistrationController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using elfhHub.Nhs.Models.Common; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/ResourceController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/ResourceController.cs index 93c285142..c61201d4c 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/ResourceController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/ResourceController.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Controllers.Api { using System; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/RoadmapController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/RoadmapController.cs index cbab9f66d..71a2c933c 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/RoadmapController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/RoadmapController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.WebUI.Interfaces; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/ScormController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/ScormController.cs index 64a245608..6f053036c 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/ScormController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/ScormController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/SearchController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/SearchController.cs index 5e9e56c87..1c7eef217 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/SearchController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/SearchController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/SpecialtyController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/SpecialtyController.cs index 4c77417f6..8388b31e2 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/SpecialtyController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/SpecialtyController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Threading.Tasks; using LearningHub.Nhs.WebUI.Interfaces; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/UserController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/UserController.cs index 7e5d42864..fc5c5579a 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/UserController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/UserController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Controllers/Api/UserGroupController.cs b/LearningHub.Nhs.WebUI/Controllers/Api/UserGroupController.cs index bc5693663..ccb7b17bc 100644 --- a/LearningHub.Nhs.WebUI/Controllers/Api/UserGroupController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/Api/UserGroupController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers.Api +namespace LearningHub.Nhs.WebUI.Controllers.Api { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Controllers/BaseController.cs b/LearningHub.Nhs.WebUI/Controllers/BaseController.cs index aba2bc314..8972fa822 100644 --- a/LearningHub.Nhs.WebUI/Controllers/BaseController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/BaseController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System.Net.Http; using LearningHub.Nhs.Models.Extensions; diff --git a/LearningHub.Nhs.WebUI/Controllers/BookmarkController.cs b/LearningHub.Nhs.WebUI/Controllers/BookmarkController.cs index d429a1efa..b38881542 100644 --- a/LearningHub.Nhs.WebUI/Controllers/BookmarkController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/BookmarkController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Controllers/CatalogueController.cs b/LearningHub.Nhs.WebUI/Controllers/CatalogueController.cs index e3bd3b193..67b4a5cb9 100644 --- a/LearningHub.Nhs.WebUI/Controllers/CatalogueController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/CatalogueController.cs @@ -1,7 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Controllers/ContributeController.cs b/LearningHub.Nhs.WebUI/Controllers/ContributeController.cs index ca9604e0b..fc3b7f76a 100644 --- a/LearningHub.Nhs.WebUI/Controllers/ContributeController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/ContributeController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System.Net.Http; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Controllers/ContributeResourceController.cs b/LearningHub.Nhs.WebUI/Controllers/ContributeResourceController.cs index 8d35c681e..cd9ec928c 100644 --- a/LearningHub.Nhs.WebUI/Controllers/ContributeResourceController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/ContributeResourceController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Controllers/CovidTestingController.cs b/LearningHub.Nhs.WebUI/Controllers/CovidTestingController.cs index c90372266..cd8676a1f 100644 --- a/LearningHub.Nhs.WebUI/Controllers/CovidTestingController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/CovidTestingController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; diff --git a/LearningHub.Nhs.WebUI/Controllers/FileController.cs b/LearningHub.Nhs.WebUI/Controllers/FileController.cs index d0f97e748..e314d1525 100644 --- a/LearningHub.Nhs.WebUI/Controllers/FileController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/FileController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System.Net.Http; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Controllers/HomeController.cs b/LearningHub.Nhs.WebUI/Controllers/HomeController.cs index a5d629fed..daa8612ee 100644 --- a/LearningHub.Nhs.WebUI/Controllers/HomeController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/HomeController.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Controllers { using System; @@ -250,17 +246,29 @@ public async Task LoadPage(string dashBoardTray = "my-learning", Catalogues = new Nhs.Models.Dashboard.DashboardCatalogueResponseViewModel { Type = catalogueDashBoard }, }; - switch (dashBoardTray) + bool isAjax = this.HttpContext.Request.Headers["X-Requested-With"] == "XMLHttpRequest"; + + if (isAjax) + { + switch (dashBoardTray) + { + case "my-learning": + model.MyLearnings = await this.dashboardService.GetMyAccessLearningsAsync(myLearningDashBoard, pageNumber); + return this.PartialView("_MyAccessedLearningTray", model); + case "resources": + model.Resources = await this.dashboardService.GetResourcesAsync(resourceDashBoard, pageNumber); + return this.PartialView("_ResourceTray", model); + case "catalogues": + model.Catalogues = await this.dashboardService.GetCataloguesAsync(catalogueDashBoard, pageNumber); + return this.PartialView("_CatalogueTray", model); + } + } + else { - case "my-learning": - model.MyLearnings = await this.dashboardService.GetMyAccessLearningsAsync(myLearningDashBoard, pageNumber); - return this.PartialView("_MyAccessedLearningTray", model); - case "resources": - model.Resources = await this.dashboardService.GetResourcesAsync(resourceDashBoard, pageNumber); - return this.PartialView("_ResourceTray", model); - case "catalogues": - model.Catalogues = await this.dashboardService.GetCataloguesAsync(catalogueDashBoard, pageNumber); - return this.PartialView("_CatalogueTray", model); + model.MyLearnings = await this.dashboardService.GetMyAccessLearningsAsync(myLearningDashBoard, dashBoardTray == "my-learning" ? pageNumber : 1); + model.Resources = await this.dashboardService.GetResourcesAsync(resourceDashBoard, dashBoardTray == "resources" ? pageNumber : 1); + model.Catalogues = await this.dashboardService.GetCataloguesAsync(catalogueDashBoard, dashBoardTray == "catalogues" ? pageNumber : 1); + return this.View("Dashboard", model); } } diff --git a/LearningHub.Nhs.WebUI/Controllers/LearningSessionsController.cs b/LearningHub.Nhs.WebUI/Controllers/LearningSessionsController.cs index 48e8465c6..4f77c00bb 100644 --- a/LearningHub.Nhs.WebUI/Controllers/LearningSessionsController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/LearningSessionsController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Diagnostics; diff --git a/LearningHub.Nhs.WebUI/Controllers/LoginWizardController.cs b/LearningHub.Nhs.WebUI/Controllers/LoginWizardController.cs index 36bd73f58..fab43e688 100644 --- a/LearningHub.Nhs.WebUI/Controllers/LoginWizardController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/LoginWizardController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Controllers/LogoutController.cs b/LearningHub.Nhs.WebUI/Controllers/LogoutController.cs index 3f9374f8d..99244e3ed 100644 --- a/LearningHub.Nhs.WebUI/Controllers/LogoutController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/LogoutController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Controllers/MediaController.cs b/LearningHub.Nhs.WebUI/Controllers/MediaController.cs index 2cb1fc263..547b8e8ef 100644 --- a/LearningHub.Nhs.WebUI/Controllers/MediaController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/MediaController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Net.Http; diff --git a/LearningHub.Nhs.WebUI/Controllers/MyAccountController.cs b/LearningHub.Nhs.WebUI/Controllers/MyAccountController.cs index ba8813502..4494d9463 100644 --- a/LearningHub.Nhs.WebUI/Controllers/MyAccountController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/MyAccountController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Controllers/MyLearningController.cs b/LearningHub.Nhs.WebUI/Controllers/MyLearningController.cs index 2d77c7df5..1061fd44e 100644 --- a/LearningHub.Nhs.WebUI/Controllers/MyLearningController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/MyLearningController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Controllers/NotificationController.cs b/LearningHub.Nhs.WebUI/Controllers/NotificationController.cs index abe4e5a78..c5013e07f 100644 --- a/LearningHub.Nhs.WebUI/Controllers/NotificationController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/NotificationController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Net.Http; diff --git a/LearningHub.Nhs.WebUI/Controllers/OfflineController.cs b/LearningHub.Nhs.WebUI/Controllers/OfflineController.cs index d9ed7ef0d..178fa5c0b 100644 --- a/LearningHub.Nhs.WebUI/Controllers/OfflineController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/OfflineController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System.Net.Http; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Controllers/OpenAthensController.cs b/LearningHub.Nhs.WebUI/Controllers/OpenAthensController.cs index c47ad5338..31fac8cb2 100644 --- a/LearningHub.Nhs.WebUI/Controllers/OpenAthensController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/OpenAthensController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Net.Http; diff --git a/LearningHub.Nhs.WebUI/Controllers/PoliciesController.cs b/LearningHub.Nhs.WebUI/Controllers/PoliciesController.cs index aaacdfdda..4d6a54c4f 100644 --- a/LearningHub.Nhs.WebUI/Controllers/PoliciesController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/PoliciesController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System.Net.Http; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Controllers/ResourceController.cs b/LearningHub.Nhs.WebUI/Controllers/ResourceController.cs index 629f61c26..4ad026334 100644 --- a/LearningHub.Nhs.WebUI/Controllers/ResourceController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/ResourceController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System; using System.Linq; @@ -10,8 +6,6 @@ namespace LearningHub.Nhs.WebUI.Controllers using System.Threading.Tasks; using LearningHub.Nhs.Caching; using LearningHub.Nhs.Models.Common; - using LearningHub.Nhs.Models.Entities.Hierarchy; - using LearningHub.Nhs.Models.Entities.Resource; using LearningHub.Nhs.Models.Enums; using LearningHub.Nhs.Models.Extensions; using LearningHub.Nhs.Models.Resource; @@ -353,15 +347,13 @@ public async Task RateResource(ResourceRatingViewModel model) /// /// Ask user to confirm that they wish to edit a published resource. /// - /// The resourceId. - /// The resourceReferenceId. - /// The resourceTitle. + /// The ResourceIndexViewModel. /// The . [Authorize] - [Route("Resource/EditConfirm/{resourceId}/{resourceReferenceId}/{resourceTitle}")] - public IActionResult EditConfirm(int resourceId, int resourceReferenceId, string resourceTitle) + [Route("Resource/EditConfirm")] + public IActionResult EditConfirm(ResourceIndexViewModel viewModel) { - return this.View("EditConfirm", new ResourceEditConfirmViewModel { ResourceId = resourceId, ResourceReferenceId = resourceReferenceId, ResourceTitle = resourceTitle }); + return this.View("EditConfirm", new ResourceEditConfirmViewModel { ResourceId = viewModel.ResourceItem.ResourceId, ResourceReferenceId = viewModel.ResourceReferenceId, ResourceTitle = viewModel.ResourceItem.Title }); } /// @@ -380,24 +372,20 @@ public IActionResult EditConfirm(ResourceEditConfirmViewModel viewModel) /// /// Ask user to confirm that they wish to unpublish a published resource. /// - /// The resourceVersionId. - /// The resourceReferenceId. - /// The resourceType. - /// The catalogueNodeVersionId. - /// The resourceTitle. - /// The SCORM ESR link type. + /// The ResourceIndexViewModel. /// The . [Authorize] - [Route("Resource/UnpublishConfirm/{resourceVersionId}/{resourceReferenceId}/{resourceType}/{catalogueNodeVersionId}/{resourceTitle}/{scormEsrLinkType?}")] - public IActionResult UnpublishConfirm(int resourceVersionId, int resourceReferenceId, int resourceType, int catalogueNodeVersionId, string resourceTitle, int scormEsrLinkType) + [Route("Resource/UnpublishConfirm")] + public IActionResult UnpublishConfirm(ResourceIndexViewModel viewModel) { + int scormEsrLinkType = viewModel.ResourceItem.ResourceTypeEnum == ResourceTypeEnum.Scorm || viewModel.ResourceItem.ResourceTypeEnum == ResourceTypeEnum.GenericFile ? (int)viewModel.ExternalContentDetails.EsrLinkType : 0; return this.View("UnpublishConfirm", new ResourceUnpublishConfirmViewModel { - ResourceVersionId = resourceVersionId, - ResourceReferenceId = resourceReferenceId, - ResourceType = (ResourceTypeEnum)resourceType, - CatalogueNodeVersionId = catalogueNodeVersionId, - ResourceTitle = resourceTitle, + ResourceVersionId = viewModel.ResourceItem.ResourceVersionId, + ResourceReferenceId = viewModel.ResourceReferenceId, + ResourceType = (ResourceTypeEnum)(int)viewModel.ResourceItem.ResourceTypeEnum, + CatalogueNodeVersionId = viewModel.ResourceItem.Catalogue.CatalogueNodeVersionId, + ResourceTitle = viewModel.ResourceItem.Title, ScormEsrLinkType = (EsrLinkType)scormEsrLinkType, }); } @@ -494,15 +482,24 @@ public async Task HtmlResourceContent(int resourceReferenceId, st contentType = "text/html"; } - var file = await this.fileService.DownloadFileAsync(contentFilePath, path); - if (file != null) + if (contentType.Contains("video") || contentType.Contains("audio")) { - return this.File(file.Content, contentType); + var stream = await this.fileService.StreamFileAsync(contentFilePath, path); + if (stream != null) + { + return this.File(stream, contentType, enableRangeProcessing: true); + } } else { - return this.Ok(this.Content("No file found")); + var file = await this.fileService.DownloadFileAsync(contentFilePath, path); + if (file != null) + { + return this.File(file.Content, contentType); + } } + + return this.Ok(this.Content("No file found")); } } } \ No newline at end of file diff --git a/LearningHub.Nhs.WebUI/Controllers/RoadMapController.cs b/LearningHub.Nhs.WebUI/Controllers/RoadMapController.cs index a6d99da40..b9bcf8a22 100644 --- a/LearningHub.Nhs.WebUI/Controllers/RoadMapController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/RoadMapController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System.Net.Http; using Microsoft.AspNetCore.Hosting; diff --git a/LearningHub.Nhs.WebUI/Controllers/SearchController.cs b/LearningHub.Nhs.WebUI/Controllers/SearchController.cs index 7eda92099..2cebfd11c 100644 --- a/LearningHub.Nhs.WebUI/Controllers/SearchController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/SearchController.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Controllers { using System; diff --git a/LearningHub.Nhs.WebUI/Controllers/TrackingController.cs b/LearningHub.Nhs.WebUI/Controllers/TrackingController.cs index fcc2562af..4463faf73 100644 --- a/LearningHub.Nhs.WebUI/Controllers/TrackingController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/TrackingController.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Controllers { using System.Net.Http; diff --git a/LearningHub.Nhs.WebUI/Controllers/UserController.cs b/LearningHub.Nhs.WebUI/Controllers/UserController.cs index 9d3698c9b..284c2a0b9 100644 --- a/LearningHub.Nhs.WebUI/Controllers/UserController.cs +++ b/LearningHub.Nhs.WebUI/Controllers/UserController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Controllers +namespace LearningHub.Nhs.WebUI.Controllers { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/EventSource/ScormContentEventSource.cs b/LearningHub.Nhs.WebUI/EventSource/ScormContentEventSource.cs index 3f03c7fe8..9f4c2df4c 100644 --- a/LearningHub.Nhs.WebUI/EventSource/ScormContentEventSource.cs +++ b/LearningHub.Nhs.WebUI/EventSource/ScormContentEventSource.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.EventSource +namespace LearningHub.Nhs.WebUI.EventSource { using System; using System.Diagnostics.Tracing; diff --git a/LearningHub.Nhs.WebUI/Extensions/ClaimsPrincipalExtensions.cs b/LearningHub.Nhs.WebUI/Extensions/ClaimsPrincipalExtensions.cs index 6bc3b1b28..30653fcbc 100644 --- a/LearningHub.Nhs.WebUI/Extensions/ClaimsPrincipalExtensions.cs +++ b/LearningHub.Nhs.WebUI/Extensions/ClaimsPrincipalExtensions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Extensions +namespace LearningHub.Nhs.WebUI.Extensions { using System; using System.Security.Claims; diff --git a/LearningHub.Nhs.WebUI/Extensions/ControllerExtensions.cs b/LearningHub.Nhs.WebUI/Extensions/ControllerExtensions.cs index d431dd8b9..6c6e44aeb 100644 --- a/LearningHub.Nhs.WebUI/Extensions/ControllerExtensions.cs +++ b/LearningHub.Nhs.WebUI/Extensions/ControllerExtensions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Extensions +namespace LearningHub.Nhs.WebUI.Extensions { using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ViewEngines; diff --git a/LearningHub.Nhs.WebUI/Extensions/HtmlHelperExtensios.cs b/LearningHub.Nhs.WebUI/Extensions/HtmlHelperExtensios.cs index c8407aa0a..cb3166548 100644 --- a/LearningHub.Nhs.WebUI/Extensions/HtmlHelperExtensios.cs +++ b/LearningHub.Nhs.WebUI/Extensions/HtmlHelperExtensios.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Extensions +namespace LearningHub.Nhs.WebUI.Extensions { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Extensions/HttpRequestExtensions.cs b/LearningHub.Nhs.WebUI/Extensions/HttpRequestExtensions.cs index 8b5dfbdcf..de4646ef8 100644 --- a/LearningHub.Nhs.WebUI/Extensions/HttpRequestExtensions.cs +++ b/LearningHub.Nhs.WebUI/Extensions/HttpRequestExtensions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Extensions +namespace LearningHub.Nhs.WebUI.Extensions { using System; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Extensions/StringExtensions.cs b/LearningHub.Nhs.WebUI/Extensions/StringExtensions.cs index d2945a865..073e756c0 100644 --- a/LearningHub.Nhs.WebUI/Extensions/StringExtensions.cs +++ b/LearningHub.Nhs.WebUI/Extensions/StringExtensions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Extensions +namespace LearningHub.Nhs.WebUI.Extensions { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Filters/LoginWizardFilter.cs b/LearningHub.Nhs.WebUI/Filters/LoginWizardFilter.cs index cf521b653..36cbcc9ff 100644 --- a/LearningHub.Nhs.WebUI/Filters/LoginWizardFilter.cs +++ b/LearningHub.Nhs.WebUI/Filters/LoginWizardFilter.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Filters +namespace LearningHub.Nhs.WebUI.Filters { using System.Threading.Tasks; using LearningHub.Nhs.Caching; diff --git a/LearningHub.Nhs.WebUI/Filters/OfflineCheckFilter.cs b/LearningHub.Nhs.WebUI/Filters/OfflineCheckFilter.cs index ef673b8ad..8adaaccf2 100644 --- a/LearningHub.Nhs.WebUI/Filters/OfflineCheckFilter.cs +++ b/LearningHub.Nhs.WebUI/Filters/OfflineCheckFilter.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Filters +namespace LearningHub.Nhs.WebUI.Filters { using System.Threading.Tasks; using LearningHub.Nhs.Caching; @@ -46,18 +42,21 @@ public override async Task OnActionExecutionAsync(ActionExecutingContext context var internalSystem = await this.internalSystemService.GetByIdAsync((int)InternalSystemType.LearningHub); - if (controller != "Offline" - && !(controller == "Home" && action == "Logout") - && internalSystem.IsOffline - && (!user.Identity.IsAuthenticated || !(await this.userGroupService.UserHasPermissionAsync("System_Offline_Bypass")))) + if (internalSystem != null) { - context.Result = new RedirectToRouteResult( - new RouteValueDictionary - { + if (controller != "Offline" + && !(controller == "Home" && action == "Logout") + && internalSystem.IsOffline + && (!user.Identity.IsAuthenticated || !(await this.userGroupService.UserHasPermissionAsync("System_Offline_Bypass")))) + { + context.Result = new RedirectToRouteResult( + new RouteValueDictionary + { { "Controller", "Offline" }, { "Action", "Index" }, - }); - executeNextAction = false; + }); + executeNextAction = false; + } } if (executeNextAction) diff --git a/LearningHub.Nhs.WebUI/Filters/PreventGeneralAccessFilter.cs b/LearningHub.Nhs.WebUI/Filters/PreventGeneralAccessFilter.cs index 34da45c2c..ebf45ca30 100644 --- a/LearningHub.Nhs.WebUI/Filters/PreventGeneralAccessFilter.cs +++ b/LearningHub.Nhs.WebUI/Filters/PreventGeneralAccessFilter.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Filters +namespace LearningHub.Nhs.WebUI.Filters { using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; diff --git a/LearningHub.Nhs.WebUI/Filters/RedirectMissingMultiPageFormData.cs b/LearningHub.Nhs.WebUI/Filters/RedirectMissingMultiPageFormData.cs index b13e7167f..1c7a8b0ad 100644 --- a/LearningHub.Nhs.WebUI/Filters/RedirectMissingMultiPageFormData.cs +++ b/LearningHub.Nhs.WebUI/Filters/RedirectMissingMultiPageFormData.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Filters +namespace LearningHub.Nhs.WebUI.Filters { using System; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Filters/SsoLoginFilterAttribute.cs b/LearningHub.Nhs.WebUI/Filters/SsoLoginFilterAttribute.cs index 2bede46f1..ed4bb1480 100644 --- a/LearningHub.Nhs.WebUI/Filters/SsoLoginFilterAttribute.cs +++ b/LearningHub.Nhs.WebUI/Filters/SsoLoginFilterAttribute.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Filters +namespace LearningHub.Nhs.WebUI.Filters { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/GlobalSuppressions.cs b/LearningHub.Nhs.WebUI/GlobalSuppressions.cs index e4d8b74a9..5a3fc9f24 100644 --- a/LearningHub.Nhs.WebUI/GlobalSuppressions.cs +++ b/LearningHub.Nhs.WebUI/GlobalSuppressions.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300:Element should begin with upper-case letter", Justification = "eLearning is a valid name", Scope = "member", Target = "~M:LearningHub.Nhs.WebUI.Controllers.HomeController.elearning~Microsoft.AspNetCore.Mvc.IActionResult")] diff --git a/LearningHub.Nhs.WebUI/Handlers/CookieEventHandler.cs b/LearningHub.Nhs.WebUI/Handlers/CookieEventHandler.cs index 1090c78c4..590d2de7f 100644 --- a/LearningHub.Nhs.WebUI/Handlers/CookieEventHandler.cs +++ b/LearningHub.Nhs.WebUI/Handlers/CookieEventHandler.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Handlers +namespace LearningHub.Nhs.WebUI.Handlers { using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; diff --git a/LearningHub.Nhs.WebUI/Handlers/LogoutUserManager.cs b/LearningHub.Nhs.WebUI/Handlers/LogoutUserManager.cs index 306db53da..f951b6b2b 100644 --- a/LearningHub.Nhs.WebUI/Handlers/LogoutUserManager.cs +++ b/LearningHub.Nhs.WebUI/Handlers/LogoutUserManager.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Handlers +namespace LearningHub.Nhs.WebUI.Handlers { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Helpers/CommonPasswordsAttribute.cs b/LearningHub.Nhs.WebUI/Helpers/CommonPasswordsAttribute.cs index a9ef81b9f..e087f9898 100644 --- a/LearningHub.Nhs.WebUI/Helpers/CommonPasswordsAttribute.cs +++ b/LearningHub.Nhs.WebUI/Helpers/CommonPasswordsAttribute.cs @@ -1,7 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Helpers/CommonValidationErrorMessages.cs b/LearningHub.Nhs.WebUI/Helpers/CommonValidationErrorMessages.cs index f4509052c..3e2753448 100644 --- a/LearningHub.Nhs.WebUI/Helpers/CommonValidationErrorMessages.cs +++ b/LearningHub.Nhs.WebUI/Helpers/CommonValidationErrorMessages.cs @@ -1,7 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Helpers/CommonValidationValues.cs b/LearningHub.Nhs.WebUI/Helpers/CommonValidationValues.cs index 8835a8c59..9cabb650a 100644 --- a/LearningHub.Nhs.WebUI/Helpers/CommonValidationValues.cs +++ b/LearningHub.Nhs.WebUI/Helpers/CommonValidationValues.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Helpers/DateValidator.cs b/LearningHub.Nhs.WebUI/Helpers/DateValidator.cs index ef0bae87b..9a19ac3ae 100644 --- a/LearningHub.Nhs.WebUI/Helpers/DateValidator.cs +++ b/LearningHub.Nhs.WebUI/Helpers/DateValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Helpers/FileHelper.cs b/LearningHub.Nhs.WebUI/Helpers/FileHelper.cs index 5fc0e74ec..6d13fa987 100644 --- a/LearningHub.Nhs.WebUI/Helpers/FileHelper.cs +++ b/LearningHub.Nhs.WebUI/Helpers/FileHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using Microsoft.AspNetCore.StaticFiles; diff --git a/LearningHub.Nhs.WebUI/Helpers/IClockUtility.cs b/LearningHub.Nhs.WebUI/Helpers/IClockUtility.cs index 2e4e33bb5..a0f51cd2a 100644 --- a/LearningHub.Nhs.WebUI/Helpers/IClockUtility.cs +++ b/LearningHub.Nhs.WebUI/Helpers/IClockUtility.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System; diff --git a/LearningHub.Nhs.WebUI/Helpers/ILearningHubApiFacade.cs b/LearningHub.Nhs.WebUI/Helpers/ILearningHubApiFacade.cs index c7af02043..bb6316aea 100644 --- a/LearningHub.Nhs.WebUI/Helpers/ILearningHubApiFacade.cs +++ b/LearningHub.Nhs.WebUI/Helpers/ILearningHubApiFacade.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/LearningHub.Nhs.WebUI/Helpers/IUserSessionHelper.cs b/LearningHub.Nhs.WebUI/Helpers/IUserSessionHelper.cs index a6f2d769e..8a7a5818c 100644 --- a/LearningHub.Nhs.WebUI/Helpers/IUserSessionHelper.cs +++ b/LearningHub.Nhs.WebUI/Helpers/IUserSessionHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Helpers/LearningHubApiFacade.cs b/LearningHub.Nhs.WebUI/Helpers/LearningHubApiFacade.cs index 964220afb..adeb102a7 100644 --- a/LearningHub.Nhs.WebUI/Helpers/LearningHubApiFacade.cs +++ b/LearningHub.Nhs.WebUI/Helpers/LearningHubApiFacade.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System; using System.Net.Http; diff --git a/LearningHub.Nhs.WebUI/Helpers/OpenAthens/OpenAthensHelpers.cs b/LearningHub.Nhs.WebUI/Helpers/OpenAthens/OpenAthensHelpers.cs index 1970b3ab0..b2b428fde 100644 --- a/LearningHub.Nhs.WebUI/Helpers/OpenAthens/OpenAthensHelpers.cs +++ b/LearningHub.Nhs.WebUI/Helpers/OpenAthens/OpenAthensHelpers.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers.OpenAthens +namespace LearningHub.Nhs.WebUI.Helpers.OpenAthens { using System.Linq; using LearningHub.Nhs.Models.OpenAthens; diff --git a/LearningHub.Nhs.WebUI/Helpers/OpenAthens/OpenAthensOpenIdConnect.cs b/LearningHub.Nhs.WebUI/Helpers/OpenAthens/OpenAthensOpenIdConnect.cs index 73b37b647..35d061062 100644 --- a/LearningHub.Nhs.WebUI/Helpers/OpenAthens/OpenAthensOpenIdConnect.cs +++ b/LearningHub.Nhs.WebUI/Helpers/OpenAthens/OpenAthensOpenIdConnect.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers.OpenAthens +namespace LearningHub.Nhs.WebUI.Helpers.OpenAthens { using System; using System.Web; diff --git a/LearningHub.Nhs.WebUI/Helpers/ProviderHelper.cs b/LearningHub.Nhs.WebUI/Helpers/ProviderHelper.cs index c60282312..a9a9aaef6 100644 --- a/LearningHub.Nhs.WebUI/Helpers/ProviderHelper.cs +++ b/LearningHub.Nhs.WebUI/Helpers/ProviderHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Helpers/QuerystringHelper.cs b/LearningHub.Nhs.WebUI/Helpers/QuerystringHelper.cs index a38ed74b4..8369978c3 100644 --- a/LearningHub.Nhs.WebUI/Helpers/QuerystringHelper.cs +++ b/LearningHub.Nhs.WebUI/Helpers/QuerystringHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Helpers/ResourceAccessLevelHelper.cs b/LearningHub.Nhs.WebUI/Helpers/ResourceAccessLevelHelper.cs index b66dde003..e03200172 100644 --- a/LearningHub.Nhs.WebUI/Helpers/ResourceAccessLevelHelper.cs +++ b/LearningHub.Nhs.WebUI/Helpers/ResourceAccessLevelHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using LearningHub.Nhs.Models.Enums; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/LearningHub.Nhs.WebUI/Helpers/SearchHelper.cs b/LearningHub.Nhs.WebUI/Helpers/SearchHelper.cs index 276e0af3c..c94eda513 100644 --- a/LearningHub.Nhs.WebUI/Helpers/SearchHelper.cs +++ b/LearningHub.Nhs.WebUI/Helpers/SearchHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System.Collections.Generic; using LearningHub.Nhs.Models.Enums; diff --git a/LearningHub.Nhs.WebUI/Helpers/TenantHelper.cs b/LearningHub.Nhs.WebUI/Helpers/TenantHelper.cs index 5a59c138f..3c90ce909 100644 --- a/LearningHub.Nhs.WebUI/Helpers/TenantHelper.cs +++ b/LearningHub.Nhs.WebUI/Helpers/TenantHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System.IO; using LearningHub.Nhs.WebUI.Models; diff --git a/LearningHub.Nhs.WebUI/Helpers/UserSessionHelper.cs b/LearningHub.Nhs.WebUI/Helpers/UserSessionHelper.cs index 599b87a20..033059143 100644 --- a/LearningHub.Nhs.WebUI/Helpers/UserSessionHelper.cs +++ b/LearningHub.Nhs.WebUI/Helpers/UserSessionHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System.Threading.Tasks; using elfhHub.Nhs.Models.Common; diff --git a/LearningHub.Nhs.WebUI/Helpers/UtilityHelper.cs b/LearningHub.Nhs.WebUI/Helpers/UtilityHelper.cs index f7963a49e..3f42256e1 100644 --- a/LearningHub.Nhs.WebUI/Helpers/UtilityHelper.cs +++ b/LearningHub.Nhs.WebUI/Helpers/UtilityHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Helpers/ViewActivityHelper.cs b/LearningHub.Nhs.WebUI/Helpers/ViewActivityHelper.cs index a04b58c4d..571cdfb5f 100644 --- a/LearningHub.Nhs.WebUI/Helpers/ViewActivityHelper.cs +++ b/LearningHub.Nhs.WebUI/Helpers/ViewActivityHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Helpers +namespace LearningHub.Nhs.WebUI.Helpers { using System; using System.Collections.Generic; @@ -307,7 +303,7 @@ public static string GetDurationText(this int durationInMilliseconds) else { duration = $"{t.Minutes}min {t.Seconds}sec"; - duration = duration.Replace("0min", string.Empty); + duration = duration.StartsWith("0min") ? duration.Replace("0min", string.Empty) : duration; } } } diff --git a/LearningHub.Nhs.WebUI/Interfaces/IActivityService.cs b/LearningHub.Nhs.WebUI/Interfaces/IActivityService.cs index 6a15facd0..8dff7ae97 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IActivityService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IActivityService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Resource; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IAzureMediaService.cs b/LearningHub.Nhs.WebUI/Interfaces/IAzureMediaService.cs index ca39fb04a..74883804b 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IAzureMediaService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IAzureMediaService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; using Microsoft.AspNetCore.Http; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IBookmarkService.cs b/LearningHub.Nhs.WebUI/Interfaces/IBookmarkService.cs index 9f1e8744e..859c5c650 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IBookmarkService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IBookmarkService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/ICardService.cs b/LearningHub.Nhs.WebUI/Interfaces/ICardService.cs index 954fdd95b..d47e32069 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/ICardService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/ICardService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/ICatalogueService.cs b/LearningHub.Nhs.WebUI/Interfaces/ICatalogueService.cs index 094ad4810..30ba46a54 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/ICatalogueService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/ICatalogueService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IContentService.cs b/LearningHub.Nhs.WebUI/Interfaces/IContentService.cs index 484d2e7dc..1c451d804 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IContentService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IContentService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Content; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IContributeService.cs b/LearningHub.Nhs.WebUI/Interfaces/IContributeService.cs index f08da24f9..1f7f4154e 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IContributeService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IContributeService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/ICountryService.cs b/LearningHub.Nhs.WebUI/Interfaces/ICountryService.cs index 1eb61444b..8b5fe7542 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/ICountryService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/ICountryService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IDashboardService.cs b/LearningHub.Nhs.WebUI/Interfaces/IDashboardService.cs index 09d43939d..de8996766 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IDashboardService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IDashboardService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Dashboard; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IDetectJsLogService.cs b/LearningHub.Nhs.WebUI/Interfaces/IDetectJsLogService.cs index 656792636..dee0c6a41 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IDetectJsLogService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IDetectJsLogService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IFileService.cs b/LearningHub.Nhs.WebUI/Interfaces/IFileService.cs index 684e391c1..8351dde97 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IFileService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IFileService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.IO; using System.Threading.Tasks; @@ -29,6 +25,14 @@ public interface IFileService /// A representing the result of the asynchronous operation. Task DownloadFileAsync(string filePath, string fileName); + /// + /// The StreamFileAsync. + /// + /// The filePath. + /// The fileName. + /// The . + Task StreamFileAsync(string filePath, string fileName); + /// /// The ProcessFile. /// diff --git a/LearningHub.Nhs.WebUI/Interfaces/IGradeService.cs b/LearningHub.Nhs.WebUI/Interfaces/IGradeService.cs index 54790a52c..eb89b6de0 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IGradeService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IGradeService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IHierarchyService.cs b/LearningHub.Nhs.WebUI/Interfaces/IHierarchyService.cs index 90e5b3420..72c1d1af7 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IHierarchyService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IHierarchyService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IInternalSystemService.cs b/LearningHub.Nhs.WebUI/Interfaces/IInternalSystemService.cs index 468d715d1..94f5139f9 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IInternalSystemService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IInternalSystemService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Maintenance; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IJobRoleService.cs b/LearningHub.Nhs.WebUI/Interfaces/IJobRoleService.cs index b18b199e0..dcfa2f768 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IJobRoleService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IJobRoleService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IJsDetectionLogger.cs b/LearningHub.Nhs.WebUI/Interfaces/IJsDetectionLogger.cs index 1dadc3c5b..10970a2bd 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IJsDetectionLogger.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IJsDetectionLogger.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/ILearningHubHttpClient.cs b/LearningHub.Nhs.WebUI/Interfaces/ILearningHubHttpClient.cs index 215b99650..d39113d99 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/ILearningHubHttpClient.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/ILearningHubHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Net.Http; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/ILearningHubReportApiClient.cs b/LearningHub.Nhs.WebUI/Interfaces/ILearningHubReportApiClient.cs index e2a217d47..a75277422 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/ILearningHubReportApiClient.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/ILearningHubReportApiClient.cs @@ -1,7 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/ILocationService.cs b/LearningHub.Nhs.WebUI/Interfaces/ILocationService.cs index d52ccb485..630c627ab 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/ILocationService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/ILocationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Interfaces/ILoginWizardService.cs b/LearningHub.Nhs.WebUI/Interfaces/ILoginWizardService.cs index 1b973678a..3a51e9118 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/ILoginWizardService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/ILoginWizardService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IMyLearningService.cs b/LearningHub.Nhs.WebUI/Interfaces/IMyLearningService.cs index fdfc8a8b2..726f78477 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IMyLearningService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IMyLearningService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Interfaces/INavigationPermissionService.cs b/LearningHub.Nhs.WebUI/Interfaces/INavigationPermissionService.cs index 33995458d..ae0102354 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/INavigationPermissionService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/INavigationPermissionService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Security.Principal; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/INotificationService.cs b/LearningHub.Nhs.WebUI/Interfaces/INotificationService.cs index ca9c1f6f9..e2c5e9c23 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/INotificationService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/INotificationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IPDFReportService.cs b/LearningHub.Nhs.WebUI/Interfaces/IPDFReportService.cs index efcc67a1b..88c8e2c0e 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IPDFReportService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IPDFReportService.cs @@ -1,7 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IPartialFileUploadService.cs b/LearningHub.Nhs.WebUI/Interfaces/IPartialFileUploadService.cs index 977f9e565..8212cb9c1 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IPartialFileUploadService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IPartialFileUploadService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Resource.Files; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IProviderService.cs b/LearningHub.Nhs.WebUI/Interfaces/IProviderService.cs index 9a742b448..528b7a4ec 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IProviderService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IProviderService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IRatingService.cs b/LearningHub.Nhs.WebUI/Interfaces/IRatingService.cs index f9955a9a6..b3457648a 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IRatingService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IRatingService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IRegionService.cs b/LearningHub.Nhs.WebUI/Interfaces/IRegionService.cs index af5c1fca3..8fc2dd6f3 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IRegionService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IRegionService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IResourceService.cs b/LearningHub.Nhs.WebUI/Interfaces/IResourceService.cs index 043deaa83..fb54a2777 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IResourceService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IResourceService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IRoadMapService.cs b/LearningHub.Nhs.WebUI/Interfaces/IRoadMapService.cs index da1b3a200..1704dc903 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IRoadMapService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IRoadMapService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; using LearningHub.Nhs.Models.RoadMap; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IRoleService.cs b/LearningHub.Nhs.WebUI/Interfaces/IRoleService.cs index 7a0467f38..885298c77 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IRoleService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IRoleService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/ISearchService.cs b/LearningHub.Nhs.WebUI/Interfaces/ISearchService.cs index 84bc7fdf7..4f8ed36c7 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/ISearchService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/ISearchService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Security.Principal; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/ISpecialtyService.cs b/LearningHub.Nhs.WebUI/Interfaces/ISpecialtyService.cs index 59750f5ad..3cf0b4c97 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/ISpecialtyService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/ISpecialtyService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Interfaces/ITermsAndConditionsService.cs b/LearningHub.Nhs.WebUI/Interfaces/ITermsAndConditionsService.cs index d634a1f3f..6ab5fe577 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/ITermsAndConditionsService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/ITermsAndConditionsService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Threading.Tasks; using elfhHub.Nhs.Models.Entities; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IUserApiHttpClient.cs b/LearningHub.Nhs.WebUI/Interfaces/IUserApiHttpClient.cs index a64922a42..fb65ab6ee 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IUserApiHttpClient.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IUserApiHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Net.Http; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IUserGroupService.cs b/LearningHub.Nhs.WebUI/Interfaces/IUserGroupService.cs index 6803f6114..a333e0c89 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IUserGroupService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IUserGroupService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Interfaces/IUserService.cs b/LearningHub.Nhs.WebUI/Interfaces/IUserService.cs index 69e039695..0b9dd4b77 100644 --- a/LearningHub.Nhs.WebUI/Interfaces/IUserService.cs +++ b/LearningHub.Nhs.WebUI/Interfaces/IUserService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Interfaces +namespace LearningHub.Nhs.WebUI.Interfaces { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/JsDetection/JsDetectionLogger.cs b/LearningHub.Nhs.WebUI/JsDetection/JsDetectionLogger.cs index aaace7345..1c44733cd 100644 --- a/LearningHub.Nhs.WebUI/JsDetection/JsDetectionLogger.cs +++ b/LearningHub.Nhs.WebUI/JsDetection/JsDetectionLogger.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.JsDetection +namespace LearningHub.Nhs.WebUI.JsDetection { using System.Threading; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/JsDetection/TimedHostedService.cs b/LearningHub.Nhs.WebUI/JsDetection/TimedHostedService.cs index d46f14118..713de000b 100644 --- a/LearningHub.Nhs.WebUI/JsDetection/TimedHostedService.cs +++ b/LearningHub.Nhs.WebUI/JsDetection/TimedHostedService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.JsDetection +namespace LearningHub.Nhs.WebUI.JsDetection { using System; using System.Threading; diff --git a/LearningHub.Nhs.WebUI/LearningHub.Nhs.WebUI.csproj b/LearningHub.Nhs.WebUI/LearningHub.Nhs.WebUI.csproj index 16161f081..c052f2516 100644 --- a/LearningHub.Nhs.WebUI/LearningHub.Nhs.WebUI.csproj +++ b/LearningHub.Nhs.WebUI/LearningHub.Nhs.WebUI.csproj @@ -112,7 +112,7 @@ - + diff --git a/LearningHub.Nhs.WebUI/Middleware/NLogMiddleware.cs b/LearningHub.Nhs.WebUI/Middleware/NLogMiddleware.cs index c72246f75..f9e5358b8 100644 --- a/LearningHub.Nhs.WebUI/Middleware/NLogMiddleware.cs +++ b/LearningHub.Nhs.WebUI/Middleware/NLogMiddleware.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Middleware +namespace LearningHub.Nhs.WebUI.Middleware { using System; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationConfirmation.cs b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationConfirmation.cs index dbc8abc86..0366d5212 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationConfirmation.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationConfirmation.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { /// /// The AccountCreationConfirmation. diff --git a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationDateViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationDateViewModel.cs index 3773189ce..c17fad8a9 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationDateViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationDateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationListViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationListViewModel.cs index b9128392c..60790b8d5 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationListViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationListViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using System.Collections.Generic; using System.Globalization; diff --git a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationPagingEnum.cs b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationPagingEnum.cs index 47f4cc47e..9880361e7 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationPagingEnum.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationPagingEnum.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { /// /// Defines the AccountCreationPagingEnum. diff --git a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationPagingModel.cs b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationPagingModel.cs index 63b18fb8e..e40d74423 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationPagingModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationPagingModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using LearningHub.Nhs.Models.Paging; diff --git a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationTypeEnum.cs b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationTypeEnum.cs index 716a4220e..67f2ec9f0 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationTypeEnum.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationTypeEnum.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { /// /// The AccountCreationTypeEnum. diff --git a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationViewModel.cs index 216e39be8..5b41bf6c8 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/AccountCreationViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/AccountCreationViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Models/Account/ChangePasswordViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/ChangePasswordViewModel.cs index 666893ebe..0338e8524 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/ChangePasswordViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/ChangePasswordViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using System.ComponentModel.DataAnnotations; using LearningHub.Nhs.WebUI.Helpers; diff --git a/LearningHub.Nhs.WebUI/Models/Account/CountrySearchViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/CountrySearchViewModel.cs index a6435f868..bd9649edb 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/CountrySearchViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/CountrySearchViewModel.cs @@ -1,7 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using System.Collections.Generic; using NHSUKViewComponents.Web.ViewModels; diff --git a/LearningHub.Nhs.WebUI/Models/Account/EmailChangeValidateViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/EmailChangeValidateViewModel.cs index 8ae3b0b74..8cf0f8ad8 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/EmailChangeValidateViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/EmailChangeValidateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { /// /// EmailChangeValidateViewModel. diff --git a/LearningHub.Nhs.WebUI/Models/Account/EmailValidateViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/EmailValidateViewModel.cs index b0b4b81ba..1506257b2 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/EmailValidateViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/EmailValidateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using System.ComponentModel; using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Models/Account/ForgotPasswordViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/ForgotPasswordViewModel.cs index d693087ad..9037018f0 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/ForgotPasswordViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/ForgotPasswordViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using System.ComponentModel.DataAnnotations; using LearningHub.Nhs.WebUI.Attributes; diff --git a/LearningHub.Nhs.WebUI/Models/Account/LoginWizardAccountConfirmation.cs b/LearningHub.Nhs.WebUI/Models/Account/LoginWizardAccountConfirmation.cs index c1a0b546d..8d0e99385 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/LoginWizardAccountConfirmation.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/LoginWizardAccountConfirmation.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using System.Collections.Generic; using elfhHub.Nhs.Models.Entities; diff --git a/LearningHub.Nhs.WebUI/Models/Account/LoginWizardDisplayViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/LoginWizardDisplayViewModel.cs index 9b9e084f5..9cd02f716 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/LoginWizardDisplayViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/LoginWizardDisplayViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using elfhHub.Nhs.Models.Common; using elfhHub.Nhs.Models.Entities; diff --git a/LearningHub.Nhs.WebUI/Models/Account/LoginWizardViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/LoginWizardViewModel.cs index 5f9dfb01c..814351d27 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/LoginWizardViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/LoginWizardViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Models/Account/PasswordValidateViewModel.cs b/LearningHub.Nhs.WebUI/Models/Account/PasswordValidateViewModel.cs index 5acd9660b..36592cd52 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/PasswordValidateViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/PasswordValidateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Account/PersonalDetails.cs b/LearningHub.Nhs.WebUI/Models/Account/PersonalDetails.cs index c09469fac..147942c2c 100644 --- a/LearningHub.Nhs.WebUI/Models/Account/PersonalDetails.cs +++ b/LearningHub.Nhs.WebUI/Models/Account/PersonalDetails.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Account +namespace LearningHub.Nhs.WebUI.Models.Account { using System.ComponentModel; using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Models/ActivityDetailedItemViewModel.cs b/LearningHub.Nhs.WebUI/Models/ActivityDetailedItemViewModel.cs index 82511153e..3b3f05d4c 100644 --- a/LearningHub.Nhs.WebUI/Models/ActivityDetailedItemViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/ActivityDetailedItemViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using System.Reflection; using LearningHub.Nhs.Models.MyLearning; diff --git a/LearningHub.Nhs.WebUI/Models/Attachment.cs b/LearningHub.Nhs.WebUI/Models/Attachment.cs index d36de39af..d36a50b79 100644 --- a/LearningHub.Nhs.WebUI/Models/Attachment.cs +++ b/LearningHub.Nhs.WebUI/Models/Attachment.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkActionViewModel.cs b/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkActionViewModel.cs index 7b84d8f9f..6d6dda837 100644 --- a/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkActionViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkActionViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Bookmark +namespace LearningHub.Nhs.WebUI.Models.Bookmark { using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkFolderViewModel.cs b/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkFolderViewModel.cs index 141aaa37a..4f4beb9bf 100644 --- a/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkFolderViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkFolderViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Bookmark +namespace LearningHub.Nhs.WebUI.Models.Bookmark { using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkItemViewModel.cs b/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkItemViewModel.cs index ad9b72569..ed6cdea93 100644 --- a/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkItemViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Bookmark/BookmarkItemViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Bookmark +namespace LearningHub.Nhs.WebUI.Models.Bookmark { using LearningHub.Nhs.Models.Bookmark; diff --git a/LearningHub.Nhs.WebUI/Models/Bookmark/EditBookmarkViewModel.cs b/LearningHub.Nhs.WebUI/Models/Bookmark/EditBookmarkViewModel.cs index 812ab1ab5..8472ceb4a 100644 --- a/LearningHub.Nhs.WebUI/Models/Bookmark/EditBookmarkViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Bookmark/EditBookmarkViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Bookmark +namespace LearningHub.Nhs.WebUI.Models.Bookmark { using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Models/Bookmark/MoveBookmarkViewModel.cs b/LearningHub.Nhs.WebUI/Models/Bookmark/MoveBookmarkViewModel.cs index e01d6aab8..82f97051a 100644 --- a/LearningHub.Nhs.WebUI/Models/Bookmark/MoveBookmarkViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Bookmark/MoveBookmarkViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Bookmark +namespace LearningHub.Nhs.WebUI.Models.Bookmark { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Models/BreadcrumbViewModel.cs b/LearningHub.Nhs.WebUI/Models/BreadcrumbViewModel.cs index 3bcb6b51d..f428c53ff 100644 --- a/LearningHub.Nhs.WebUI/Models/BreadcrumbViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/BreadcrumbViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueAccessRequestedViewModel.cs b/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueAccessRequestedViewModel.cs index 7edc9e45f..ebdcf3c55 100644 --- a/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueAccessRequestedViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueAccessRequestedViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Catalogue +namespace LearningHub.Nhs.WebUI.Models.Catalogue { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueIndexViewModel.cs b/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueIndexViewModel.cs index 7e60dcc14..b9fd30dca 100644 --- a/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueIndexViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueIndexViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Catalogue +namespace LearningHub.Nhs.WebUI.Models.Catalogue { using System.Collections.Generic; using LearningHub.Nhs.Models.Catalogue; diff --git a/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueRequestAccessViewModel.cs b/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueRequestAccessViewModel.cs index 66a2c40de..78c89a174 100644 --- a/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueRequestAccessViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Catalogue/CatalogueRequestAccessViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Catalogue +namespace LearningHub.Nhs.WebUI.Models.Catalogue { using System.ComponentModel.DataAnnotations; using LearningHub.Nhs.Models.Catalogue; diff --git a/LearningHub.Nhs.WebUI/Models/Contribute/ConfigurationModel.cs b/LearningHub.Nhs.WebUI/Models/Contribute/ConfigurationModel.cs index 8b7fee10b..e92366f24 100644 --- a/LearningHub.Nhs.WebUI/Models/Contribute/ConfigurationModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Contribute/ConfigurationModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Models.Contribute { /// diff --git a/LearningHub.Nhs.WebUI/Models/Contribute/ContributeSettingsModel.cs b/LearningHub.Nhs.WebUI/Models/Contribute/ContributeSettingsModel.cs index 284d4d508..db1a57904 100644 --- a/LearningHub.Nhs.WebUI/Models/Contribute/ContributeSettingsModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Contribute/ContributeSettingsModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Contribute +namespace LearningHub.Nhs.WebUI.Models.Contribute { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkProcessModel.cs b/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkProcessModel.cs index 652674eed..84f730c35 100644 --- a/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkProcessModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkProcessModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Contribute +namespace LearningHub.Nhs.WebUI.Models.Contribute { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkRegisterModel.cs b/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkRegisterModel.cs index 8c69f0878..4d8da1a6b 100644 --- a/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkRegisterModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkRegisterModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Contribute +namespace LearningHub.Nhs.WebUI.Models.Contribute { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkUploadResult.cs b/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkUploadResult.cs index 1363c54e7..a5fe922e1 100644 --- a/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkUploadResult.cs +++ b/LearningHub.Nhs.WebUI/Models/Contribute/FileChunkUploadResult.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Contribute +namespace LearningHub.Nhs.WebUI.Models.Contribute { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadResult.cs b/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadResult.cs index b7ab55d76..5549518b5 100644 --- a/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadResult.cs +++ b/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadResult.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Contribute +namespace LearningHub.Nhs.WebUI.Models.Contribute { using LearningHub.Nhs.Models.Enums; diff --git a/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadSettingsModel.cs b/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadSettingsModel.cs index 9d58681e4..9cf8e1547 100644 --- a/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadSettingsModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadSettingsModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Contribute +namespace LearningHub.Nhs.WebUI.Models.Contribute { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadTypeEnum.cs b/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadTypeEnum.cs index cf081ff2e..0fdfb91c8 100644 --- a/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadTypeEnum.cs +++ b/LearningHub.Nhs.WebUI/Models/Contribute/FileUploadTypeEnum.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Contribute +namespace LearningHub.Nhs.WebUI.Models.Contribute { /// /// Defines the FileUploadTypeEnum. diff --git a/LearningHub.Nhs.WebUI/Models/Contribute/UrlValidationModel.cs b/LearningHub.Nhs.WebUI/Models/Contribute/UrlValidationModel.cs index c4809bb08..f402a70b6 100644 --- a/LearningHub.Nhs.WebUI/Models/Contribute/UrlValidationModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Contribute/UrlValidationModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Contribute +namespace LearningHub.Nhs.WebUI.Models.Contribute { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/DashBoard/DashBoardPagingViewModel.cs b/LearningHub.Nhs.WebUI/Models/DashBoard/DashBoardPagingViewModel.cs index 50683fbfa..7f29f8f86 100644 --- a/LearningHub.Nhs.WebUI/Models/DashBoard/DashBoardPagingViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/DashBoard/DashBoardPagingViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.DashBoard +namespace LearningHub.Nhs.WebUI.Models.DashBoard { /// /// The DashBoardPagingViewModel. diff --git a/LearningHub.Nhs.WebUI/Models/DashboardEventViewModel.cs b/LearningHub.Nhs.WebUI/Models/DashboardEventViewModel.cs index 8d9c975cf..1bb321574 100644 --- a/LearningHub.Nhs.WebUI/Models/DashboardEventViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/DashboardEventViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using LearningHub.Nhs.Models.Enums; diff --git a/LearningHub.Nhs.WebUI/Models/DashboardViewModel.cs b/LearningHub.Nhs.WebUI/Models/DashboardViewModel.cs index 0d67b9c38..c1358827f 100644 --- a/LearningHub.Nhs.WebUI/Models/DashboardViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/DashboardViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using LearningHub.Nhs.Models.Dashboard; diff --git a/LearningHub.Nhs.WebUI/Models/DisplayConfirmationViewModel.cs b/LearningHub.Nhs.WebUI/Models/DisplayConfirmationViewModel.cs index f60a1c56d..49fd9b36b 100644 --- a/LearningHub.Nhs.WebUI/Models/DisplayConfirmationViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/DisplayConfirmationViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/DisplayMessageViewModel.cs b/LearningHub.Nhs.WebUI/Models/DisplayMessageViewModel.cs index 1a70e959f..b5d9b1ea2 100644 --- a/LearningHub.Nhs.WebUI/Models/DisplayMessageViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/DisplayMessageViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/ErrorViewModel.cs b/LearningHub.Nhs.WebUI/Models/ErrorViewModel.cs index b782e6dcf..05c1faece 100644 --- a/LearningHub.Nhs.WebUI/Models/ErrorViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/ErrorViewModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Models { /// diff --git a/LearningHub.Nhs.WebUI/Models/LandingPageViewModel.cs b/LearningHub.Nhs.WebUI/Models/LandingPageViewModel.cs index 10218dda8..1db8f021b 100644 --- a/LearningHub.Nhs.WebUI/Models/LandingPageViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/LandingPageViewModel.cs @@ -1,7 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using System.Collections.Generic; using LearningHub.Nhs.Models.Common; diff --git a/LearningHub.Nhs.WebUI/Models/Learning/ActivityViewProgress.cs b/LearningHub.Nhs.WebUI/Models/Learning/ActivityViewProgress.cs index 56d092418..c466f74d0 100644 --- a/LearningHub.Nhs.WebUI/Models/Learning/ActivityViewProgress.cs +++ b/LearningHub.Nhs.WebUI/Models/Learning/ActivityViewProgress.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Learning +namespace LearningHub.Nhs.WebUI.Models.Learning { using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Models/Learning/CertificateDetails.cs b/LearningHub.Nhs.WebUI/Models/Learning/CertificateDetails.cs index d15542a08..f4b74519c 100644 --- a/LearningHub.Nhs.WebUI/Models/Learning/CertificateDetails.cs +++ b/LearningHub.Nhs.WebUI/Models/Learning/CertificateDetails.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Learning +namespace LearningHub.Nhs.WebUI.Models.Learning { using System.Collections.Generic; using System.ComponentModel; diff --git a/LearningHub.Nhs.WebUI/Models/Learning/MyLearningFormActionTypeEnum.cs b/LearningHub.Nhs.WebUI/Models/Learning/MyLearningFormActionTypeEnum.cs index b5ce82045..44b0c7adf 100644 --- a/LearningHub.Nhs.WebUI/Models/Learning/MyLearningFormActionTypeEnum.cs +++ b/LearningHub.Nhs.WebUI/Models/Learning/MyLearningFormActionTypeEnum.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Learning +namespace LearningHub.Nhs.WebUI.Models.Learning { /// /// Defines the MyLearningFormActionTypeEnum. diff --git a/LearningHub.Nhs.WebUI/Models/Learning/MyLearningPagingModel.cs b/LearningHub.Nhs.WebUI/Models/Learning/MyLearningPagingModel.cs index fca227d36..52219be62 100644 --- a/LearningHub.Nhs.WebUI/Models/Learning/MyLearningPagingModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Learning/MyLearningPagingModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Learning +namespace LearningHub.Nhs.WebUI.Models.Learning { using LearningHub.Nhs.Models.Paging; diff --git a/LearningHub.Nhs.WebUI/Models/Learning/ResourcePlayedSegment.cs b/LearningHub.Nhs.WebUI/Models/Learning/ResourcePlayedSegment.cs index 4a9feb8df..4dd3f9640 100644 --- a/LearningHub.Nhs.WebUI/Models/Learning/ResourcePlayedSegment.cs +++ b/LearningHub.Nhs.WebUI/Models/Learning/ResourcePlayedSegment.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Learning +namespace LearningHub.Nhs.WebUI.Models.Learning { using System; diff --git a/LearningHub.Nhs.WebUI/Models/LearningSessions/Interaction.cs b/LearningHub.Nhs.WebUI/Models/LearningSessions/Interaction.cs index cc8982680..4817ed14e 100644 --- a/LearningHub.Nhs.WebUI/Models/LearningSessions/Interaction.cs +++ b/LearningHub.Nhs.WebUI/Models/LearningSessions/Interaction.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.LearningSessions +namespace LearningHub.Nhs.WebUI.Models.LearningSessions { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/LearningSessions/Objective.cs b/LearningHub.Nhs.WebUI/Models/LearningSessions/Objective.cs index 0cd8bbbc7..0d6e6b689 100644 --- a/LearningHub.Nhs.WebUI/Models/LearningSessions/Objective.cs +++ b/LearningHub.Nhs.WebUI/Models/LearningSessions/Objective.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.LearningSessions +namespace LearningHub.Nhs.WebUI.Models.LearningSessions { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/LearningSessions/SCO.cs b/LearningHub.Nhs.WebUI/Models/LearningSessions/SCO.cs index 4566fbf9d..51933620b 100644 --- a/LearningHub.Nhs.WebUI/Models/LearningSessions/SCO.cs +++ b/LearningHub.Nhs.WebUI/Models/LearningSessions/SCO.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.LearningSessions +namespace LearningHub.Nhs.WebUI.Models.LearningSessions { using System.Collections.Generic; using LearningHub.Nhs.Models.Resource.Activity; diff --git a/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormContansts.cs b/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormContansts.cs index b9a345590..c2c7cd737 100644 --- a/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormContansts.cs +++ b/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormContansts.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.LearningSessions +namespace LearningHub.Nhs.WebUI.Models.LearningSessions { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormEntryValue.cs b/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormEntryValue.cs index a3eccaf00..bfa8ac450 100644 --- a/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormEntryValue.cs +++ b/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormEntryValue.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.LearningSessions +namespace LearningHub.Nhs.WebUI.Models.LearningSessions { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormExitValue.cs b/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormExitValue.cs index 0f3660e73..52b819c43 100644 --- a/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormExitValue.cs +++ b/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormExitValue.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.LearningSessions +namespace LearningHub.Nhs.WebUI.Models.LearningSessions { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormLessionStatus.cs b/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormLessionStatus.cs index 6fc52f822..93077dd85 100644 --- a/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormLessionStatus.cs +++ b/LearningHub.Nhs.WebUI/Models/LearningSessions/ScormLessionStatus.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.LearningSessions +namespace LearningHub.Nhs.WebUI.Models.LearningSessions { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/MyLearningViewModel.cs b/LearningHub.Nhs.WebUI/Models/MyLearningViewModel.cs index 14da105e7..b83a536e5 100644 --- a/LearningHub.Nhs.WebUI/Models/MyLearningViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/MyLearningViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Models/NavigationModel.cs b/LearningHub.Nhs.WebUI/Models/NavigationModel.cs index fa4e0ffea..ca4dee523 100644 --- a/LearningHub.Nhs.WebUI/Models/NavigationModel.cs +++ b/LearningHub.Nhs.WebUI/Models/NavigationModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/NotificationDetailModel.cs b/LearningHub.Nhs.WebUI/Models/NotificationDetailModel.cs index d6f2786e9..491446072 100644 --- a/LearningHub.Nhs.WebUI/Models/NotificationDetailModel.cs +++ b/LearningHub.Nhs.WebUI/Models/NotificationDetailModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using System; diff --git a/LearningHub.Nhs.WebUI/Models/PageReviewModel.cs b/LearningHub.Nhs.WebUI/Models/PageReviewModel.cs index 9952a8e8b..3c6c0ec77 100644 --- a/LearningHub.Nhs.WebUI/Models/PageReviewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/PageReviewModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Models { using System; diff --git a/LearningHub.Nhs.WebUI/Models/PaginationViewModel.cs b/LearningHub.Nhs.WebUI/Models/PaginationViewModel.cs index 28d06d967..9c7240baa 100644 --- a/LearningHub.Nhs.WebUI/Models/PaginationViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/PaginationViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Policies/TermsAndConditionsViewModel.cs b/LearningHub.Nhs.WebUI/Models/Policies/TermsAndConditionsViewModel.cs index f9778ee72..ac4973927 100644 --- a/LearningHub.Nhs.WebUI/Models/Policies/TermsAndConditionsViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Policies/TermsAndConditionsViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Policies +namespace LearningHub.Nhs.WebUI.Models.Policies { using System; diff --git a/LearningHub.Nhs.WebUI/Models/Resource/EsrLinkViewModel.cs b/LearningHub.Nhs.WebUI/Models/Resource/EsrLinkViewModel.cs index 1ffde6de5..4af72e435 100644 --- a/LearningHub.Nhs.WebUI/Models/Resource/EsrLinkViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Resource/EsrLinkViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Resource +namespace LearningHub.Nhs.WebUI.Models.Resource { using LearningHub.Nhs.Models.Resource; diff --git a/LearningHub.Nhs.WebUI/Models/Resource/ResourceEditConfirmViewModel.cs b/LearningHub.Nhs.WebUI/Models/Resource/ResourceEditConfirmViewModel.cs index 94638027e..7e8e9b87f 100644 --- a/LearningHub.Nhs.WebUI/Models/Resource/ResourceEditConfirmViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Resource/ResourceEditConfirmViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Resource +namespace LearningHub.Nhs.WebUI.Models.Resource { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Resource/ResourceIndexViewModel.cs b/LearningHub.Nhs.WebUI/Models/Resource/ResourceIndexViewModel.cs index c7f98b21f..fd48dc233 100644 --- a/LearningHub.Nhs.WebUI/Models/Resource/ResourceIndexViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Resource/ResourceIndexViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Resource +namespace LearningHub.Nhs.WebUI.Models.Resource { using System.Collections.Generic; using LearningHub.Nhs.Models.Catalogue; diff --git a/LearningHub.Nhs.WebUI/Models/Resource/ResourceUnpublishConfirmViewModel.cs b/LearningHub.Nhs.WebUI/Models/Resource/ResourceUnpublishConfirmViewModel.cs index 9cbc403cc..ad09653aa 100644 --- a/LearningHub.Nhs.WebUI/Models/Resource/ResourceUnpublishConfirmViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Resource/ResourceUnpublishConfirmViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Resource +namespace LearningHub.Nhs.WebUI.Models.Resource { using LearningHub.Nhs.Models.Enums; diff --git a/LearningHub.Nhs.WebUI/Models/Resource/ResourceValidationResultViewModel.cs b/LearningHub.Nhs.WebUI/Models/Resource/ResourceValidationResultViewModel.cs index 1f113a166..cf1af352b 100644 --- a/LearningHub.Nhs.WebUI/Models/Resource/ResourceValidationResultViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Resource/ResourceValidationResultViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Resource +namespace LearningHub.Nhs.WebUI.Models.Resource { using System.Collections.Generic; using LearningHub.Nhs.Models.Catalogue; diff --git a/LearningHub.Nhs.WebUI/Models/ResourceRatingViewModel.cs b/LearningHub.Nhs.WebUI/Models/ResourceRatingViewModel.cs index d59bed1b3..6b4c36c05 100644 --- a/LearningHub.Nhs.WebUI/Models/ResourceRatingViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/ResourceRatingViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using LearningHub.Nhs.Models.Common; diff --git a/LearningHub.Nhs.WebUI/Models/ResourceVersionHistoryViewModel.cs b/LearningHub.Nhs.WebUI/Models/ResourceVersionHistoryViewModel.cs index 0ba0ac8e7..11df0e717 100644 --- a/LearningHub.Nhs.WebUI/Models/ResourceVersionHistoryViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/ResourceVersionHistoryViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/RestrictedAccessBannerViewModel.cs b/LearningHub.Nhs.WebUI/Models/RestrictedAccessBannerViewModel.cs index 38cdead1d..59176251f 100644 --- a/LearningHub.Nhs.WebUI/Models/RestrictedAccessBannerViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/RestrictedAccessBannerViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using LearningHub.Nhs.Models.Catalogue; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/LearningHub.Nhs.WebUI/Models/Search/SearchActionCatalogueClickModel.cs b/LearningHub.Nhs.WebUI/Models/Search/SearchActionCatalogueClickModel.cs index 1aa9f8e62..a85e334d5 100644 --- a/LearningHub.Nhs.WebUI/Models/Search/SearchActionCatalogueClickModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Search/SearchActionCatalogueClickModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using LearningHub.Nhs.Models.Search; diff --git a/LearningHub.Nhs.WebUI/Models/Search/SearchFormActionTypeEnum.cs b/LearningHub.Nhs.WebUI/Models/Search/SearchFormActionTypeEnum.cs index b711f20b9..4fc86ce57 100644 --- a/LearningHub.Nhs.WebUI/Models/Search/SearchFormActionTypeEnum.cs +++ b/LearningHub.Nhs.WebUI/Models/Search/SearchFormActionTypeEnum.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Search +namespace LearningHub.Nhs.WebUI.Models.Search { /// /// Defines the SearchFormActionTypeEnum. diff --git a/LearningHub.Nhs.WebUI/Models/Search/SearchRequestViewModel.cs b/LearningHub.Nhs.WebUI/Models/Search/SearchRequestViewModel.cs index e8b5a2e71..8b4d5de04 100644 --- a/LearningHub.Nhs.WebUI/Models/Search/SearchRequestViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Search/SearchRequestViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Search +namespace LearningHub.Nhs.WebUI.Models.Search { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Models/Search/SearchResultPagingModel.cs b/LearningHub.Nhs.WebUI/Models/Search/SearchResultPagingModel.cs index fbd3bb9fa..9082444d4 100644 --- a/LearningHub.Nhs.WebUI/Models/Search/SearchResultPagingModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Search/SearchResultPagingModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Search +namespace LearningHub.Nhs.WebUI.Models.Search { using LearningHub.Nhs.Models.Paging; diff --git a/LearningHub.Nhs.WebUI/Models/Search/SearchResultViewModel.cs b/LearningHub.Nhs.WebUI/Models/Search/SearchResultViewModel.cs index 59c7c3537..bf8837d01 100644 --- a/LearningHub.Nhs.WebUI/Models/Search/SearchResultViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Search/SearchResultViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Search +namespace LearningHub.Nhs.WebUI.Models.Search { using System; using LearningHub.Nhs.Models.Paging; diff --git a/LearningHub.Nhs.WebUI/Models/SitemapViewModel.cs b/LearningHub.Nhs.WebUI/Models/SitemapViewModel.cs index 3b63d3466..e8dc5f9a4 100644 --- a/LearningHub.Nhs.WebUI/Models/SitemapViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/SitemapViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Models/StarRatingWithCountViewModel.cs b/LearningHub.Nhs.WebUI/Models/StarRatingWithCountViewModel.cs index e61c3de28..fc49beed6 100644 --- a/LearningHub.Nhs.WebUI/Models/StarRatingWithCountViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/StarRatingWithCountViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Models/TenantViewModel.cs b/LearningHub.Nhs.WebUI/Models/TenantViewModel.cs index 7689f14d6..545ef4bba 100644 --- a/LearningHub.Nhs.WebUI/Models/TenantViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/TenantViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/Test/FormControlsTestModel.cs b/LearningHub.Nhs.WebUI/Models/Test/FormControlsTestModel.cs index 96ef24e8f..e2d342ca2 100644 --- a/LearningHub.Nhs.WebUI/Models/Test/FormControlsTestModel.cs +++ b/LearningHub.Nhs.WebUI/Models/Test/FormControlsTestModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.Test +namespace LearningHub.Nhs.WebUI.Models.Test { using System; diff --git a/LearningHub.Nhs.WebUI/Models/ToggleBookmarkViewModel.cs b/LearningHub.Nhs.WebUI/Models/ToggleBookmarkViewModel.cs index 70e3864b0..dbcb1772c 100644 --- a/LearningHub.Nhs.WebUI/Models/ToggleBookmarkViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/ToggleBookmarkViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/TrayCard.cs b/LearningHub.Nhs.WebUI/Models/TrayCard.cs index eaaa28397..061c5b74b 100644 --- a/LearningHub.Nhs.WebUI/Models/TrayCard.cs +++ b/LearningHub.Nhs.WebUI/Models/TrayCard.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using LearningHub.Nhs.Models.Enums; diff --git a/LearningHub.Nhs.WebUI/Models/TrayCardExtended.cs b/LearningHub.Nhs.WebUI/Models/TrayCardExtended.cs index aaa1bb154..c7d3ca30b 100644 --- a/LearningHub.Nhs.WebUI/Models/TrayCardExtended.cs +++ b/LearningHub.Nhs.WebUI/Models/TrayCardExtended.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Models { using System; diff --git a/LearningHub.Nhs.WebUI/Models/TrayViewModel.cs b/LearningHub.Nhs.WebUI/Models/TrayViewModel.cs index e36a8815b..6560a2588 100644 --- a/LearningHub.Nhs.WebUI/Models/TrayViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/TrayViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Models/UserBasicViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserBasicViewModel.cs index 21d627333..3ed59d135 100644 --- a/LearningHub.Nhs.WebUI/Models/UserBasicViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserBasicViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using System; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/ChangePasswordViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/ChangePasswordViewModel.cs index 87a5d86ac..36287a647 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/ChangePasswordViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/ChangePasswordViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.ComponentModel.DataAnnotations; using LearningHub.Nhs.WebUI.Helpers; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/CurrentPasswordViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/CurrentPasswordViewModel.cs index c7edec518..b4b80d3c1 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/CurrentPasswordViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/CurrentPasswordViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityQuestionAnswerViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityQuestionAnswerViewModel.cs index ec7edc2a8..e471e55a6 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityQuestionAnswerViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityQuestionAnswerViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityQuestionSelectViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityQuestionSelectViewModel.cs index 67ef3eccc..33ab2b517 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityQuestionSelectViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityQuestionSelectViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityViewModel.cs index 41a46f191..adcfe53bf 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/SecurityViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.Collections.Generic; using elfhHub.Nhs.Models.Common; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/UserEmailDetailsViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/UserEmailDetailsViewModel.cs index 234da485d..536c366d1 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/UserEmailDetailsViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/UserEmailDetailsViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.ComponentModel; using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/UserGradeUpdateViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/UserGradeUpdateViewModel.cs index dbd11d40d..af9915c18 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/UserGradeUpdateViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/UserGradeUpdateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/UserJobRoleUpdateViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/UserJobRoleUpdateViewModel.cs index f4e9222f0..a48170b6c 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/UserJobRoleUpdateViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/UserJobRoleUpdateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/UserLocationViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/UserLocationViewModel.cs index 234e10aba..ed072b9cf 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/UserLocationViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/UserLocationViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.Collections.Generic; using System.ComponentModel; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/UserMedicalCouncilNoUpdateViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/UserMedicalCouncilNoUpdateViewModel.cs index ec14a3d8a..2fbfa7378 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/UserMedicalCouncilNoUpdateViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/UserMedicalCouncilNoUpdateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { /// /// Defines the . diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/UserPersonalDetailsViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/UserPersonalDetailsViewModel.cs index 9b4156d77..fea39d712 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/UserPersonalDetailsViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/UserPersonalDetailsViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.ComponentModel; using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/UserPrimarySpecialtyUpdateViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/UserPrimarySpecialtyUpdateViewModel.cs index 26f930954..8dd1546ed 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/UserPrimarySpecialtyUpdateViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/UserPrimarySpecialtyUpdateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.Collections.Generic; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/UserProfileSummaryViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/UserProfileSummaryViewModel.cs index fd5486a74..38f821c59 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/UserProfileSummaryViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/UserProfileSummaryViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/UserStartDateUpdateViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/UserStartDateUpdateViewModel.cs index fab162753..8d45071cd 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/UserStartDateUpdateViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/UserStartDateUpdateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Models/UserProfile/UserWorkPlaceUpdateViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserProfile/UserWorkPlaceUpdateViewModel.cs index 2941f2a6e..dd7652194 100644 --- a/LearningHub.Nhs.WebUI/Models/UserProfile/UserWorkPlaceUpdateViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserProfile/UserWorkPlaceUpdateViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models.UserProfile +namespace LearningHub.Nhs.WebUI.Models.UserProfile { using System.Collections.Generic; using System.Globalization; diff --git a/LearningHub.Nhs.WebUI/Models/UserViewModel.cs b/LearningHub.Nhs.WebUI/Models/UserViewModel.cs index a27843fc5..a4f03fd37 100644 --- a/LearningHub.Nhs.WebUI/Models/UserViewModel.cs +++ b/LearningHub.Nhs.WebUI/Models/UserViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Models +namespace LearningHub.Nhs.WebUI.Models { using System; diff --git a/LearningHub.Nhs.WebUI/Program.cs b/LearningHub.Nhs.WebUI/Program.cs index ec9685f50..8aee50089 100644 --- a/LearningHub.Nhs.WebUI/Program.cs +++ b/LearningHub.Nhs.WebUI/Program.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -#pragma warning disable SA1200 // Using directives should be placed correctly +#pragma warning disable SA1200 // Using directives should be placed correctly using System; using System.Diagnostics; using LearningHub.Nhs.WebUI; diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/ContentGenericFile.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/ContentGenericFile.vue index ecc5a2f59..f1380b1ab 100644 --- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/ContentGenericFile.vue +++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/contribute/ContentGenericFile.vue @@ -9,13 +9,9 @@ - + - - This is a SCORM/AICC elearning resource - - - + Please choose the resource type as Elearning/HTML for the SCORM/AICC elearning or HTML resources. diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/models/contribute/contributeResourceModel.ts b/LearningHub.Nhs.WebUI/Scripts/vuesrc/models/contribute/contributeResourceModel.ts index dc93c207a..a50fc6d4c 100644 --- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/models/contribute/contributeResourceModel.ts +++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/models/contribute/contributeResourceModel.ts @@ -41,7 +41,6 @@ export class AttachedFileModel { export class GenericFileResourceModel { resourceVersionId: number = 0; file: ResourceFileModel = new ResourceFileModel(); - scormAiccContent: boolean = false; authoredYear: number = 0; authoredMonth: number = 0; authoredDayOfMonth: number = 0; diff --git a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/ResourceContent.vue b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/ResourceContent.vue index a1e80d97a..909fd8396 100644 --- a/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/ResourceContent.vue +++ b/LearningHub.Nhs.WebUI/Scripts/vuesrc/resource/ResourceContent.vue @@ -426,6 +426,11 @@ window.location.pathname = './Home/Error'; }); } + + if (interactionType == "ended") { + setTimeout(() => { this.checkUserCertificateAvailability() }, 10000); + await this.recordActivityComplete(); + } }, async recordMediaPlayingEvent(): Promise { let currentMediaTime = this.getMediaPlayerDisplayTime(); diff --git a/LearningHub.Nhs.WebUI/ServiceCollectionExtension.cs b/LearningHub.Nhs.WebUI/ServiceCollectionExtension.cs index 1d11fa64e..20582b444 100644 --- a/LearningHub.Nhs.WebUI/ServiceCollectionExtension.cs +++ b/LearningHub.Nhs.WebUI/ServiceCollectionExtension.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI +namespace LearningHub.Nhs.WebUI { using System; using System.IdentityModel.Tokens.Jwt; diff --git a/LearningHub.Nhs.WebUI/Services/ActivityService.cs b/LearningHub.Nhs.WebUI/Services/ActivityService.cs index 75e73fe4f..a494bea91 100644 --- a/LearningHub.Nhs.WebUI/Services/ActivityService.cs +++ b/LearningHub.Nhs.WebUI/Services/ActivityService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Net.Http; diff --git a/LearningHub.Nhs.WebUI/Services/AzureMediaService.cs b/LearningHub.Nhs.WebUI/Services/AzureMediaService.cs index b5c3d8a93..6068bc067 100644 --- a/LearningHub.Nhs.WebUI/Services/AzureMediaService.cs +++ b/LearningHub.Nhs.WebUI/Services/AzureMediaService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Globalization; diff --git a/LearningHub.Nhs.WebUI/Services/BaseHttpClient.cs b/LearningHub.Nhs.WebUI/Services/BaseHttpClient.cs index 0d151e67e..a8ebda5ef 100644 --- a/LearningHub.Nhs.WebUI/Services/BaseHttpClient.cs +++ b/LearningHub.Nhs.WebUI/Services/BaseHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Concurrent; diff --git a/LearningHub.Nhs.WebUI/Services/BaseService.cs b/LearningHub.Nhs.WebUI/Services/BaseService.cs index 4bedd76b7..87d4cfc79 100644 --- a/LearningHub.Nhs.WebUI/Services/BaseService.cs +++ b/LearningHub.Nhs.WebUI/Services/BaseService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using LearningHub.Nhs.WebUI.Interfaces; using Microsoft.Extensions.Logging; diff --git a/LearningHub.Nhs.WebUI/Services/BoomarkService.cs b/LearningHub.Nhs.WebUI/Services/BoomarkService.cs index 03b0e4b0e..5a26148cc 100644 --- a/LearningHub.Nhs.WebUI/Services/BoomarkService.cs +++ b/LearningHub.Nhs.WebUI/Services/BoomarkService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/CardService.cs b/LearningHub.Nhs.WebUI/Services/CardService.cs index db3f72d73..d0795c0ad 100644 --- a/LearningHub.Nhs.WebUI/Services/CardService.cs +++ b/LearningHub.Nhs.WebUI/Services/CardService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Services { using System; diff --git a/LearningHub.Nhs.WebUI/Services/CatalogueService.cs b/LearningHub.Nhs.WebUI/Services/CatalogueService.cs index a96fc887c..fc95fe746 100644 --- a/LearningHub.Nhs.WebUI/Services/CatalogueService.cs +++ b/LearningHub.Nhs.WebUI/Services/CatalogueService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/ContentService.cs b/LearningHub.Nhs.WebUI/Services/ContentService.cs index 1afe0ed0e..92fe7a7dd 100644 --- a/LearningHub.Nhs.WebUI/Services/ContentService.cs +++ b/LearningHub.Nhs.WebUI/Services/ContentService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Services/ContributeService.cs b/LearningHub.Nhs.WebUI/Services/ContributeService.cs index 152b66298..0936801ee 100644 --- a/LearningHub.Nhs.WebUI/Services/ContributeService.cs +++ b/LearningHub.Nhs.WebUI/Services/ContributeService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/CountryService.cs b/LearningHub.Nhs.WebUI/Services/CountryService.cs index 072be8ba4..2c0c7e120 100644 --- a/LearningHub.Nhs.WebUI/Services/CountryService.cs +++ b/LearningHub.Nhs.WebUI/Services/CountryService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/DashboardService.cs b/LearningHub.Nhs.WebUI/Services/DashboardService.cs index f77a57633..f3ffdbc3a 100644 --- a/LearningHub.Nhs.WebUI/Services/DashboardService.cs +++ b/LearningHub.Nhs.WebUI/Services/DashboardService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Text; diff --git a/LearningHub.Nhs.WebUI/Services/DetectJsLogService.cs b/LearningHub.Nhs.WebUI/Services/DetectJsLogService.cs index c32cbce27..da62c5cbd 100644 --- a/LearningHub.Nhs.WebUI/Services/DetectJsLogService.cs +++ b/LearningHub.Nhs.WebUI/Services/DetectJsLogService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Services/FileService.cs b/LearningHub.Nhs.WebUI/Services/FileService.cs index c5661edf5..b47caf186 100644 --- a/LearningHub.Nhs.WebUI/Services/FileService.cs +++ b/LearningHub.Nhs.WebUI/Services/FileService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.IO; @@ -98,6 +94,29 @@ public async Task DownloadFileAsync(string filePath, stri return null; } + /// + /// The StreamFileAsync. + /// + /// The filePath. + /// The fileName. + /// The . + public async Task StreamFileAsync(string filePath, string fileName) + { + var directory = this.ShareClient.GetDirectoryClient(filePath); + + if (await directory.ExistsAsync()) + { + var file = directory.GetFileClient(fileName); + + if (await file.ExistsAsync()) + { + return await file.OpenReadAsync(); + } + } + + return null; + } + /// /// The ProcessFile. /// diff --git a/LearningHub.Nhs.WebUI/Services/GradeService.cs b/LearningHub.Nhs.WebUI/Services/GradeService.cs index 813e149d0..fb0a42074 100644 --- a/LearningHub.Nhs.WebUI/Services/GradeService.cs +++ b/LearningHub.Nhs.WebUI/Services/GradeService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/HierarchyService.cs b/LearningHub.Nhs.WebUI/Services/HierarchyService.cs index 960a6e5c2..4bd8f7734 100644 --- a/LearningHub.Nhs.WebUI/Services/HierarchyService.cs +++ b/LearningHub.Nhs.WebUI/Services/HierarchyService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Services/InternalSystemService.cs b/LearningHub.Nhs.WebUI/Services/InternalSystemService.cs index ac02841f7..d578d9523 100644 --- a/LearningHub.Nhs.WebUI/Services/InternalSystemService.cs +++ b/LearningHub.Nhs.WebUI/Services/InternalSystemService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Services/JobRoleService.cs b/LearningHub.Nhs.WebUI/Services/JobRoleService.cs index 2d2c7e80b..bbf9f4402 100644 --- a/LearningHub.Nhs.WebUI/Services/JobRoleService.cs +++ b/LearningHub.Nhs.WebUI/Services/JobRoleService.cs @@ -1,16 +1,15 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; using System.Threading.Tasks; using elfhHub.Nhs.Models.Common; + using LearningHub.Nhs.WebUI.Helpers; using LearningHub.Nhs.WebUI.Interfaces; + using LearningHub.Nhs.WebUI.Models.Account; using Microsoft.Extensions.Logging; using Newtonsoft.Json; + using NuGet.Common; /// /// Defines the . @@ -105,7 +104,7 @@ public async Task>> GetPagedFilteredAsync var client = await this.userApiHttpClient.GetClientAsync(); - var request = $"JobRole/GetPagedFilteredWithStaffGroup/{filter}/{page}/{pageSize}"; + var request = $"JobRole/GetPagedFilteredWithStaffGroup/{Uri.EscapeDataString(filter.EncodeParameter())}/{page}/{pageSize}"; var response = await client.GetAsync(request).ConfigureAwait(false); if (response.IsSuccessStatusCode) diff --git a/LearningHub.Nhs.WebUI/Services/LearningHubHttpClient.cs b/LearningHub.Nhs.WebUI/Services/LearningHubHttpClient.cs index 80408b379..460ddabc3 100644 --- a/LearningHub.Nhs.WebUI/Services/LearningHubHttpClient.cs +++ b/LearningHub.Nhs.WebUI/Services/LearningHubHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System.Net.Http; using LearningHub.Nhs.Caching; diff --git a/LearningHub.Nhs.WebUI/Services/LearningHubReportApiClient.cs b/LearningHub.Nhs.WebUI/Services/LearningHubReportApiClient.cs index ff03c14e1..1ae378c9b 100644 --- a/LearningHub.Nhs.WebUI/Services/LearningHubReportApiClient.cs +++ b/LearningHub.Nhs.WebUI/Services/LearningHubReportApiClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/LocationService.cs b/LearningHub.Nhs.WebUI/Services/LocationService.cs index 1af2bda9b..2ba678ab0 100644 --- a/LearningHub.Nhs.WebUI/Services/LocationService.cs +++ b/LearningHub.Nhs.WebUI/Services/LocationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/LoginWizardService.cs b/LearningHub.Nhs.WebUI/Services/LoginWizardService.cs index 36945e10c..306d69304 100644 --- a/LearningHub.Nhs.WebUI/Services/LoginWizardService.cs +++ b/LearningHub.Nhs.WebUI/Services/LoginWizardService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/MyLearningService.cs b/LearningHub.Nhs.WebUI/Services/MyLearningService.cs index 9f23ed543..c6f9f2ffb 100644 --- a/LearningHub.Nhs.WebUI/Services/MyLearningService.cs +++ b/LearningHub.Nhs.WebUI/Services/MyLearningService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/NavigationPermissionService.cs b/LearningHub.Nhs.WebUI/Services/NavigationPermissionService.cs index 6e9a09e89..954b20ca7 100644 --- a/LearningHub.Nhs.WebUI/Services/NavigationPermissionService.cs +++ b/LearningHub.Nhs.WebUI/Services/NavigationPermissionService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System.Security.Principal; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Services/NotificationService.cs b/LearningHub.Nhs.WebUI/Services/NotificationService.cs index dfa7cd7c8..d41ef30d6 100644 --- a/LearningHub.Nhs.WebUI/Services/NotificationService.cs +++ b/LearningHub.Nhs.WebUI/Services/NotificationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Net.Http; diff --git a/LearningHub.Nhs.WebUI/Services/PDFReportService.cs b/LearningHub.Nhs.WebUI/Services/PDFReportService.cs index e94ceb93b..bd7dc838a 100644 --- a/LearningHub.Nhs.WebUI/Services/PDFReportService.cs +++ b/LearningHub.Nhs.WebUI/Services/PDFReportService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Services/PartialFileUploadService.cs b/LearningHub.Nhs.WebUI/Services/PartialFileUploadService.cs index 25f16c1b5..7a7a33616 100644 --- a/LearningHub.Nhs.WebUI/Services/PartialFileUploadService.cs +++ b/LearningHub.Nhs.WebUI/Services/PartialFileUploadService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.IO; diff --git a/LearningHub.Nhs.WebUI/Services/ProviderService.cs b/LearningHub.Nhs.WebUI/Services/ProviderService.cs index 0d630ddb7..44a91495b 100644 --- a/LearningHub.Nhs.WebUI/Services/ProviderService.cs +++ b/LearningHub.Nhs.WebUI/Services/ProviderService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/RatingService.cs b/LearningHub.Nhs.WebUI/Services/RatingService.cs index ce84bfbf2..f08361096 100644 --- a/LearningHub.Nhs.WebUI/Services/RatingService.cs +++ b/LearningHub.Nhs.WebUI/Services/RatingService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Net.Http; diff --git a/LearningHub.Nhs.WebUI/Services/RegionService.cs b/LearningHub.Nhs.WebUI/Services/RegionService.cs index f16b82935..6a48fcf5d 100644 --- a/LearningHub.Nhs.WebUI/Services/RegionService.cs +++ b/LearningHub.Nhs.WebUI/Services/RegionService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/ResourceService.cs b/LearningHub.Nhs.WebUI/Services/ResourceService.cs index 0cf0fe1f5..31608b797 100644 --- a/LearningHub.Nhs.WebUI/Services/ResourceService.cs +++ b/LearningHub.Nhs.WebUI/Services/ResourceService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Services { using System; diff --git a/LearningHub.Nhs.WebUI/Services/RoadMapService.cs b/LearningHub.Nhs.WebUI/Services/RoadMapService.cs index 240a6bc0b..210a06096 100644 --- a/LearningHub.Nhs.WebUI/Services/RoadMapService.cs +++ b/LearningHub.Nhs.WebUI/Services/RoadMapService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Threading.Tasks; diff --git a/LearningHub.Nhs.WebUI/Services/RoleService.cs b/LearningHub.Nhs.WebUI/Services/RoleService.cs index aa74c7055..cfc3c8ff8 100644 --- a/LearningHub.Nhs.WebUI/Services/RoleService.cs +++ b/LearningHub.Nhs.WebUI/Services/RoleService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/SearchService.cs b/LearningHub.Nhs.WebUI/Services/SearchService.cs index 1951d1d23..3fc38d8a2 100644 --- a/LearningHub.Nhs.WebUI/Services/SearchService.cs +++ b/LearningHub.Nhs.WebUI/Services/SearchService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.WebUI.Services { using System; diff --git a/LearningHub.Nhs.WebUI/Services/SpecialtyService.cs b/LearningHub.Nhs.WebUI/Services/SpecialtyService.cs index caf862ee5..adc3f41bb 100644 --- a/LearningHub.Nhs.WebUI/Services/SpecialtyService.cs +++ b/LearningHub.Nhs.WebUI/Services/SpecialtyService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/TermsAndConditionsService.cs b/LearningHub.Nhs.WebUI/Services/TermsAndConditionsService.cs index a85d8873b..db00925e6 100644 --- a/LearningHub.Nhs.WebUI/Services/TermsAndConditionsService.cs +++ b/LearningHub.Nhs.WebUI/Services/TermsAndConditionsService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Net.Http; diff --git a/LearningHub.Nhs.WebUI/Services/UserApiHttpClient.cs b/LearningHub.Nhs.WebUI/Services/UserApiHttpClient.cs index 71953eef8..399ad34cc 100644 --- a/LearningHub.Nhs.WebUI/Services/UserApiHttpClient.cs +++ b/LearningHub.Nhs.WebUI/Services/UserApiHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System.Net.Http; using LearningHub.Nhs.Caching; diff --git a/LearningHub.Nhs.WebUI/Services/UserGroupService.cs b/LearningHub.Nhs.WebUI/Services/UserGroupService.cs index 1c285f887..ae5b4dd80 100644 --- a/LearningHub.Nhs.WebUI/Services/UserGroupService.cs +++ b/LearningHub.Nhs.WebUI/Services/UserGroupService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Services/UserService.cs b/LearningHub.Nhs.WebUI/Services/UserService.cs index 92dbcd354..83b8f64d8 100644 --- a/LearningHub.Nhs.WebUI/Services/UserService.cs +++ b/LearningHub.Nhs.WebUI/Services/UserService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Services +namespace LearningHub.Nhs.WebUI.Services { using System; using System.Collections.Generic; diff --git a/LearningHub.Nhs.WebUI/Startup/AuthenticationConfiguration.cs b/LearningHub.Nhs.WebUI/Startup/AuthenticationConfiguration.cs index 08c675717..40caab241 100644 --- a/LearningHub.Nhs.WebUI/Startup/AuthenticationConfiguration.cs +++ b/LearningHub.Nhs.WebUI/Startup/AuthenticationConfiguration.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Startup +namespace LearningHub.Nhs.WebUI.Startup { using System; using System.Linq; diff --git a/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddleware.cs b/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddleware.cs index a29578b30..dca0963d0 100644 --- a/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddleware.cs +++ b/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddleware.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Startup +namespace LearningHub.Nhs.WebUI.Startup { using System.Threading.Tasks; using Microsoft.AspNetCore.Http; diff --git a/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddlewareExtensions.cs b/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddlewareExtensions.cs index 3d57f04c1..83ae8343f 100644 --- a/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddlewareExtensions.cs +++ b/LearningHub.Nhs.WebUI/Startup/CustomHttpsRedirectionMiddlewareExtensions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Startup +namespace LearningHub.Nhs.WebUI.Startup { using Microsoft.AspNetCore.Builder; diff --git a/LearningHub.Nhs.WebUI/Startup/ServiceMappings.cs b/LearningHub.Nhs.WebUI/Startup/ServiceMappings.cs index d50c138fb..cf3877a99 100644 --- a/LearningHub.Nhs.WebUI/Startup/ServiceMappings.cs +++ b/LearningHub.Nhs.WebUI/Startup/ServiceMappings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Startup +namespace LearningHub.Nhs.WebUI.Startup { using System.Net.Http; using GDS.MultiPageFormData; diff --git a/LearningHub.Nhs.WebUI/Startup/TimezoneInfoMiddleware.cs b/LearningHub.Nhs.WebUI/Startup/TimezoneInfoMiddleware.cs index 2690bb063..8284e1cfe 100644 --- a/LearningHub.Nhs.WebUI/Startup/TimezoneInfoMiddleware.cs +++ b/LearningHub.Nhs.WebUI/Startup/TimezoneInfoMiddleware.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Startup +namespace LearningHub.Nhs.WebUI.Startup { using System.Threading.Tasks; using LearningHub.Nhs.Caching; diff --git a/LearningHub.Nhs.WebUI/Styles/nhsuk/common.scss b/LearningHub.Nhs.WebUI/Styles/nhsuk/common.scss index 067b105fe..72d1fe015 100644 --- a/LearningHub.Nhs.WebUI/Styles/nhsuk/common.scss +++ b/LearningHub.Nhs.WebUI/Styles/nhsuk/common.scss @@ -139,9 +139,9 @@ padding-right: px2rem(68); } -#maincontent .search-width-container { +#maincontent { - .nhsuk-search__submit__green span.nhsuk-u-visually-hidden { + button[class^='nhsuk-search__submit'] span.nhsuk-u-visually-hidden { color: #595959; background-color: #fff; } @@ -222,4 +222,4 @@ white-space: nowrap; margin-top: auto !important; margin-bottom: auto !important; -} \ No newline at end of file +} diff --git a/LearningHub.Nhs.WebUI/Styles/nhsuk/layout.scss b/LearningHub.Nhs.WebUI/Styles/nhsuk/layout.scss index 03eb2e416..3bd13c109 100644 --- a/LearningHub.Nhs.WebUI/Styles/nhsuk/layout.scss +++ b/LearningHub.Nhs.WebUI/Styles/nhsuk/layout.scss @@ -58,8 +58,8 @@ flex: 1 0 0; } -.nhsuk-header__logo .nhsuk-header__link--service { - display:inline-flex; +.nhsuk-header__logo .nhsuk-header__link--service { + display: inline-flex; } .nhsuk-header__service-name { @@ -90,22 +90,25 @@ height: px2rem(18); text-align: center; border-radius: px2rem(9); - padding:px2rem(1) px2rem(3) 0; + padding: px2rem(1) px2rem(3) 0; } .nhsuk-header__menu { display: none; } +.nhsuk-header__search .nhsuk-search__input { + width: px2rem(260); +} + .nhsuk-header__search { .nhsuk-search__input { width: px2rem(260); } - - label { - color: #E0E0E6; - } + #search > label.nhsuk-u-visually-hidden { + background-color: $nhsuk-white; + } } .nhsuk-account__login--link, @@ -125,7 +128,7 @@ } .beta-banner + div { - border-top:1px solid $color_nhsuk-grey-3; + border-top: 1px solid $color_nhsuk-grey-3; } .beta-banner__beta-box { @@ -184,14 +187,14 @@ @media (min-width: px2rem(990)) { .nhsuk-header__navigation-item--current a { - border-bottom:4px solid $nhsuk-grey-lighter; - font-weight:normal; + border-bottom: 4px solid $nhsuk-grey-lighter; + font-weight: normal; } .nhsuk-header__navigation-link { - position:relative; + position: relative; } - + .nhsuk-header__navigation-item:last-child { margin-right: 16px; } @@ -265,7 +268,7 @@ text-align: center; margin: 0; right: 0; - font-weight:600; + font-weight: 600; } .nhsuk-header__search-form { @@ -290,7 +293,7 @@ background: $nhsuk-error-color; color: $nhsuk-white; min-width: px2rem(18); - width:fit-content; + width: fit-content; height: px2rem(18); text-align: center; border-radius: px2rem(9); @@ -325,6 +328,10 @@ .nhsuk-back-link { padding: 0.5rem 0; } + + .nhsuk-header__menu .nhsuk-header__not-mobile { + display: none; + } } /* mobile */ @@ -335,7 +342,7 @@ } .nhsuk-header__logo { - max-width:none; + max-width: none; } .nhsuk-header__mobile-only-nav { @@ -395,7 +402,7 @@ } .nhsuk-header__search .nhsuk-search__submit { - padding-top:nhsuk-spacing(1); + padding-top: nhsuk-spacing(1); } .nhsuk-header__menu { diff --git a/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/mylearning.scss b/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/mylearning.scss index 0d28c2393..26b854a14 100644 --- a/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/mylearning.scss +++ b/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/mylearning.scss @@ -2,7 +2,7 @@ .my-learning { - + .downloadbuttonaslink { background: none !important; @@ -101,6 +101,8 @@ .search-filters { + position: relative; + .nhsuk-expander { border-width: 0; @@ -126,31 +128,33 @@ border-width: 12.124px 7px 0 7px; border-top-color: inherit } + } - .filter-summary { - color: $nhsuk-black; + .filter-summary { + color: $nhsuk-black; + display: flex; + line-height: 1.8; + position: absolute; + z-index: 1; + margin-top: 67px; + width: 100%; + + .clear-filter { + justify-content: flex-end; display: flex; - line-height: 1.8; - - .clear-filter { - justify-content: flex-end; - display: flex; - flex: 1 1 auto !important; - } + flex: 1 1 auto !important; + } - @media(max-width: 48.0525em) { - display: initial; + @media(max-width: 48.0525em) { + display: initial; - .clear-filter { - display: block; - margin-top: 12px; - } + .clear-filter { + display: block; + margin-top: 12px; } } } - - .search-filter-items { background-color: $nhsuk-grey-white; } diff --git a/LearningHub.Nhs.WebUI/Validation/NotEqualAttribute.cs b/LearningHub.Nhs.WebUI/Validation/NotEqualAttribute.cs index cd96f486b..73496feb6 100644 --- a/LearningHub.Nhs.WebUI/Validation/NotEqualAttribute.cs +++ b/LearningHub.Nhs.WebUI/Validation/NotEqualAttribute.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Validation +namespace LearningHub.Nhs.WebUI.Validation { using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/Validation/RequiredIfAttribute.cs b/LearningHub.Nhs.WebUI/Validation/RequiredIfAttribute.cs index 40a804a9c..3a904d685 100644 --- a/LearningHub.Nhs.WebUI/Validation/RequiredIfAttribute.cs +++ b/LearningHub.Nhs.WebUI/Validation/RequiredIfAttribute.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.Validation +namespace LearningHub.Nhs.WebUI.Validation { using System.ComponentModel.DataAnnotations; diff --git a/LearningHub.Nhs.WebUI/ViewComponents/NavigationItemsViewComponent.cs b/LearningHub.Nhs.WebUI/ViewComponents/NavigationItemsViewComponent.cs index e033fac20..6b81891cd 100644 --- a/LearningHub.Nhs.WebUI/ViewComponents/NavigationItemsViewComponent.cs +++ b/LearningHub.Nhs.WebUI/ViewComponents/NavigationItemsViewComponent.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.WebUI.ViewComponents +namespace LearningHub.Nhs.WebUI.ViewComponents { using System.Threading.Tasks; using LearningHub.Nhs.Caching; diff --git a/LearningHub.Nhs.WebUI/Views/Bookmark/_BookmarkAction.cshtml b/LearningHub.Nhs.WebUI/Views/Bookmark/_BookmarkAction.cshtml index fb4ae54d1..5349fbb30 100644 --- a/LearningHub.Nhs.WebUI/Views/Bookmark/_BookmarkAction.cshtml +++ b/LearningHub.Nhs.WebUI/Views/Bookmark/_BookmarkAction.cshtml @@ -6,7 +6,7 @@ @if (Model.IsFirst == false) { - + } @@ -15,7 +15,7 @@ @if (Model.IsLast == false) { - + } diff --git a/LearningHub.Nhs.WebUI/Views/MyLearning/Index.cshtml b/LearningHub.Nhs.WebUI/Views/MyLearning/Index.cshtml index b04dff53d..6c9580011 100644 --- a/LearningHub.Nhs.WebUI/Views/MyLearning/Index.cshtml +++ b/LearningHub.Nhs.WebUI/Views/MyLearning/Index.cshtml @@ -12,7 +12,7 @@ var routeData = ViewActivityHelper.GetActivityParameters(Model); } -@section styles{ +@section styles { @@ -57,11 +57,12 @@ Download PDF } - + Search within My learning - + Search Text + @@ -93,6 +94,9 @@ + + + @@ -102,10 +106,8 @@ - - - - + + @@ -221,7 +223,4 @@ - - - - + \ No newline at end of file diff --git a/LearningHub.Nhs.WebUI/Views/MyLearning/LearningCertificate.cshtml b/LearningHub.Nhs.WebUI/Views/MyLearning/LearningCertificate.cshtml index bea8abcc1..dbecd677b 100644 --- a/LearningHub.Nhs.WebUI/Views/MyLearning/LearningCertificate.cshtml +++ b/LearningHub.Nhs.WebUI/Views/MyLearning/LearningCertificate.cshtml @@ -1105,7 +1105,7 @@ { - + @@ -1276,7 +1276,7 @@ } - + @@ -1320,7 +1320,7 @@ - + diff --git a/LearningHub.Nhs.WebUI/Views/Resource/Resource.cshtml b/LearningHub.Nhs.WebUI/Views/Resource/Resource.cshtml index d0150991a..0c89a0f24 100644 --- a/LearningHub.Nhs.WebUI/Views/Resource/Resource.cshtml +++ b/LearningHub.Nhs.WebUI/Views/Resource/Resource.cshtml @@ -79,18 +79,22 @@ && resource.ResourceVersionIdPublishing == 0 && !resource.ReadOnly) { - - Edit resource - Unpublish + + + + + + + + + + + + + + + + } @@ -100,8 +104,12 @@ && !resource.ReadOnly) { - Edit resource + + + + + + } @@ -174,13 +182,13 @@ { - @if (Model.UserHasCertificate) - { - - - - - } + @if (Model.UserHasCertificate) + { + + + + + } @if (resource.Id > 0 && !resource.Catalogue.Hidden && !(resource.VersionStatusEnum == VersionStatusEnum.Unpublished && !resource.DisplayForContributor)) - { + { @@ -215,14 +223,14 @@ { - @if (Model.UserHasCertificate) - { - displayCertificateButton = false; - - - - - } + @if (Model.UserHasCertificate) + { + displayCertificateButton = false; + + + + + } @{ @@ -240,13 +248,13 @@ { - @if (Model.UserHasCertificate && displayCertificateButton) - { - - - - - } + @if (Model.UserHasCertificate && displayCertificateButton) + { + + + + + } -@section Scripts{ +@section Scripts { @if (ViewBag.UserAuthenticated) { diff --git a/LearningHub.Nhs.WebUI/Views/Resource/_ResourceItem.cshtml b/LearningHub.Nhs.WebUI/Views/Resource/_ResourceItem.cshtml index eb227f27c..cb8c0bb84 100644 --- a/LearningHub.Nhs.WebUI/Views/Resource/_ResourceItem.cshtml +++ b/LearningHub.Nhs.WebUI/Views/Resource/_ResourceItem.cshtml @@ -108,65 +108,20 @@ } - @* Html Resource *@ - @if (canShowMoreDetails && resourceItem.ResourceTypeEnum == ResourceTypeEnum.Html) - { - - - - - Launch HTML resource - - - This resource will launch in a new window - - - } - @* Generic File *@ @if (canShowMoreDetails && resourceItem.ResourceTypeEnum == ResourceTypeEnum.GenericFile) { - - @if (!resourceItem.GenericFileDetails.ScormAiccContent) - { - - - Download: - - @GetFileExtension(resourceItem.GenericFileDetails.File.FileName) - @resourceItem.GenericFileDetails.File.FileName (@resourceItem.GenericFileDetails.File.FileSizeKb KB) - - - - } - else - { - - - - You will be able to launch SCORM/AICC elearning resources on the Learning Hub in the future. - In the meantime you can download this and add it to another system that supports this type of resource. - - Download this elearning resource - - - - - - Why am I unable to view e-learning resources? - - - - - TBC - - - - + + + Download: + + @GetFileExtension(resourceItem.GenericFileDetails.File.FileName) + @resourceItem.GenericFileDetails.File.FileName (@resourceItem.GenericFileDetails.File.FileSizeKb KB) + - } + + } @@ -191,6 +146,22 @@ } } + @* Html Resource *@ + @if (canShowMoreDetails && resourceItem.ResourceTypeEnum == ResourceTypeEnum.Html) + { + + + + + Launch HTML resource + + + This resource will launch in a new window + + + } + @if (canShowMoreDetails && resourceItem.ResourceTypeEnum == ResourceTypeEnum.Video || resourceItem.ResourceTypeEnum == ResourceTypeEnum.Audio || resourceItem.ResourceTypeEnum == ResourceTypeEnum.Scorm || resourceItem.ResourceTypeEnum == ResourceTypeEnum.Case || resourceItem.ResourceTypeEnum == ResourceTypeEnum.Assessment) diff --git a/LearningHub.Nhs.WebUI/Views/Shared/_NavPartial.cshtml b/LearningHub.Nhs.WebUI/Views/Shared/_NavPartial.cshtml index 0a9862213..79295b556 100644 --- a/LearningHub.Nhs.WebUI/Views/Shared/_NavPartial.cshtml +++ b/LearningHub.Nhs.WebUI/Views/Shared/_NavPartial.cshtml @@ -10,7 +10,8 @@ - + + diff --git a/LearningHub.Nhs.WebUI/appsettings.json b/LearningHub.Nhs.WebUI/appsettings.json index bb172aea5..9bb500251 100644 --- a/LearningHub.Nhs.WebUI/appsettings.json +++ b/LearningHub.Nhs.WebUI/appsettings.json @@ -68,10 +68,10 @@ "SupportSite": "https://support.learninghub.nhs.uk/", "BookmarksHelpUrl": "https://support.learninghub.nhs.uk/support/solutions/articles/80000987925-how-to-create-bookmarks", "SupportForm": "https://support.learninghub.nhs.uk/support/tickets/new", - "SupportFeedbackForm": "https://forms.office.com/e/C8tteweEhG", + "SupportFeedbackForm": "https://forms.office.com/e/nKcK8AdHRX", "ExcludedFiles": "https://support.learninghub.nhs.uk/support/solutions/articles/80000986609-which-types-of-resources-can-i-share-on-the-learning-hub-", "WhoCanAccessTheLearningHub": "https://support.learninghub.nhs.uk/support/solutions/articles/80000986599-who-can-access-the-learning-hub-", - "ContributeUR": "https://forms.office.com/e/C8tteweEhG", + "ContributeUR": "https://forms.office.com/e/nKcK8AdHRX", "PrivacyNotice": "https://www.hee.nhs.uk/about/privacy-notice", "UnableToViewELearningResources": "https://support.learninghub.nhs.uk/support/solutions/articles/80000986607-why-am-i-unable-to-view-e-learning-resources-", "ContributingAResource": "https://support.learninghub.nhs.uk/support/tickets/new", diff --git a/LearningHub.Nhs.WebUI/stylecop.json b/LearningHub.Nhs.WebUI/stylecop.json index e0163aeef..04b9b98e5 100644 --- a/LearningHub.Nhs.WebUI/stylecop.json +++ b/LearningHub.Nhs.WebUI/stylecop.json @@ -1,9 +1,3 @@ { "$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", - "settings": { - "documentationRules": { - "copyrightText": "Copyright (c) {companyName}.", - "companyName": "HEE.nhs.uk" - } - } } \ No newline at end of file diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/FindwiseCollectionIdSettings.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/FindwiseCollectionIdSettings.cs index 25d2721f2..3e97bbb53 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/FindwiseCollectionIdSettings.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/FindwiseCollectionIdSettings.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.Configuration { /// diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/FindwiseConfig.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/FindwiseConfig.cs index aefeb3b19..dd84799c5 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/FindwiseConfig.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/FindwiseConfig.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.Configuration { /// diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/IHasPostConfigure.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/IHasPostConfigure.cs index aa2880d6a..fe38f4a5d 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/IHasPostConfigure.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/IHasPostConfigure.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.Configuration { /// diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/LearningHubApiConfig.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/LearningHubApiConfig.cs index 03c76cc58..58cf2d52b 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/LearningHubApiConfig.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/LearningHubApiConfig.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Models.Configuration +namespace LearningHub.Nhs.OpenApi.Models.Configuration { using System; using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/LearningHubConfig.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/LearningHubConfig.cs index da25b3e7c..9e2086ee3 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/LearningHubConfig.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Configuration/LearningHubConfig.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.Configuration { /// diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Exceptions/HttpResponseException.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Exceptions/HttpResponseException.cs index bbd19c61e..e03403f40 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/Exceptions/HttpResponseException.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/Exceptions/HttpResponseException.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.Exceptions { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Findwise/FindwiseRequestStatus.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Findwise/FindwiseRequestStatus.cs index fd0f63754..c01e41023 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Findwise/FindwiseRequestStatus.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Findwise/FindwiseRequestStatus.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.ServiceModels.Findwise { /// diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Findwise/FindwiseResultModel.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Findwise/FindwiseResultModel.cs index 2338c3106..04fcfee3c 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Findwise/FindwiseResultModel.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Findwise/FindwiseResultModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.ServiceModels.Findwise { using LearningHub.Nhs.Models.Search; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Resource/ResourceSearchRequest.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Resource/ResourceSearchRequest.cs index 2937a5bc1..01cfa90f6 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Resource/ResourceSearchRequest.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Resource/ResourceSearchRequest.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Models.ServiceModels.Resource +namespace LearningHub.Nhs.OpenApi.Models.ServiceModels.Resource { using System.Collections.Generic; using System.Linq; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Resource/ResourceSearchResultModel.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Resource/ResourceSearchResultModel.cs index 94b45f0bc..c3de30411 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Resource/ResourceSearchResultModel.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ServiceModels/Resource/ResourceSearchResultModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.ServiceModels.Resource { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkCatalogueViewModel.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkCatalogueViewModel.cs index 20ca30a71..31670a74e 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkCatalogueViewModel.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkCatalogueViewModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Models.ViewModels +namespace LearningHub.Nhs.OpenApi.Models.ViewModels { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkResourceReferenceViewModel.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkResourceReferenceViewModel.cs index bddae2e32..a8ee93729 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkResourceReferenceViewModel.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkResourceReferenceViewModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.ViewModels { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkResourceReferencesFromJsonRequestModel.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkResourceReferencesFromJsonRequestModel.cs index 4ee871a74..cc9a4b7fb 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkResourceReferencesFromJsonRequestModel.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/BulkResourceReferencesFromJsonRequestModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Models.ViewModels +namespace LearningHub.Nhs.OpenApi.Models.ViewModels { using System.Collections.Generic; using Newtonsoft.Json; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/CatalogueViewModel.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/CatalogueViewModel.cs index 44c7895ef..7c165fb39 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/CatalogueViewModel.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/CatalogueViewModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.ViewModels { using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceMetadataViewModel.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceMetadataViewModel.cs index 1e2a3c7d2..3675959a6 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceMetadataViewModel.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceMetadataViewModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.ViewModels { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceReferenceViewModel.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceReferenceViewModel.cs index 80b6203c7..9050296ef 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceReferenceViewModel.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceReferenceViewModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.ViewModels { /// diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceReferenceWithResourceDetailsViewModel.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceReferenceWithResourceDetailsViewModel.cs index a61ea9608..cf31bdf54 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceReferenceWithResourceDetailsViewModel.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceReferenceWithResourceDetailsViewModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.ViewModels { /// diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceSearchResultViewModel.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceSearchResultViewModel.cs index d186d83e1..8ef4f61b4 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceSearchResultViewModel.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Models/ViewModels/ResourceSearchResultViewModel.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Models.ViewModels { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Map/IEntityTypeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Map/IEntityTypeMap.cs index fa25dca00..ec6b4db97 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Map/IEntityTypeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Map/IEntityTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Interface.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Interface.Map { using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Repositories/ICatalogueRepository.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Repositories/ICatalogueRepository.cs index 572d6c841..78a6ea679 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Repositories/ICatalogueRepository.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Repositories/ICatalogueRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Interface.Repositories +namespace LearningHub.Nhs.OpenApi.Repositories.Interface.Repositories { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Repositories/IResourceRepository.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Repositories/IResourceRepository.cs index a3176e942..50eff71f6 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Repositories/IResourceRepository.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories.Interface/Repositories/IResourceRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Repositories.Interface.Repositories { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/LearningHubDbContext.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/LearningHubDbContext.cs index 7d5f7181e..020a4f1f5 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/LearningHubDbContext.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/LearningHubDbContext.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Repositories.EntityFramework { using LearningHub.Nhs.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/LearningHubDbContextOptions.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/LearningHubDbContextOptions.cs index b7fe9422b..ab8e39131 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/LearningHubDbContextOptions.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/LearningHubDbContextOptions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.EntityFramework +namespace LearningHub.Nhs.OpenApi.Repositories.EntityFramework { using System.Collections.Generic; using LearningHub.Nhs.OpenApi.Repositories.Map; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/ServiceMappings.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/ServiceMappings.cs index db596eac2..668d318b1 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/ServiceMappings.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/EntityFramework/ServiceMappings.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Repositories.EntityFramework { using AutoMapper; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityInteractionAnswerMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityInteractionAnswerMap.cs index ba51d2127..67b755038 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityInteractionAnswerMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityInteractionAnswerMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityInteractionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityInteractionMap.cs index a81f4f4bb..31bff2eff 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityInteractionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityInteractionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityMap.cs index df3cd6015..2f26d473a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/AssessmentResourceActivityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourceActivityInteractionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourceActivityInteractionMap.cs index eba3daef8..39b0faf36 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourceActivityInteractionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourceActivityInteractionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourceActivityMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourceActivityMap.cs index 95c5e154b..8153af2ee 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourceActivityMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourceActivityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourcePlayedSegmentMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourcePlayedSegmentMap.cs index 767e1ceab..fd75bd7e0 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourcePlayedSegmentMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/MediaResourcePlayedSegmentMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/NodeActivityMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/NodeActivityMap.cs index e87202b1c..bf3b5057b 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/NodeActivityMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/NodeActivityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ResourceActivityMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ResourceActivityMap.cs index 6eea5c66a..4a237e3b3 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ResourceActivityMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ResourceActivityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionCorrectResponseMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionCorrectResponseMap.cs index bf00cfeec..f27f56d7e 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionCorrectResponseMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionCorrectResponseMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionMap.cs index 65ff57fa6..f87482a89 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionObjectiveMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionObjectiveMap.cs index a1f6e5c3a..24307d8a7 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionObjectiveMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityInteractionObjectiveMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityMap.cs index 220a5d4a5..bf723a5c2 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityObjectiveMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityObjectiveMap.cs index f39abd8b6..936d5f1ae 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityObjectiveMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Activity/ScormActivityObjectiveMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/AddressMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/AddressMap.cs index 51c7dd900..07de45d87 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/AddressMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/AddressMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Analytics/EventMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Analytics/EventMap.cs index 7e5fd7c6b..243528e22 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Analytics/EventMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Analytics/EventMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using LearningHub.Nhs.Models.Entities.Analytics; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/AttributeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/AttributeMap.cs index 2276d344d..af534740e 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/AttributeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/AttributeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/BaseEntityMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/BaseEntityMap.cs index 4811443ed..8cc109be5 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/BaseEntityMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/BaseEntityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/ImageAssetMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/ImageAssetMap.cs index b358ac4d4..e23568e94 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/ImageAssetMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/ImageAssetMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Content +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Content { using LearningHub.Nhs.Models.Entities.Content; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageMap.cs index 1217e6a8d..f0b9d6597 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Content +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Content { using LearningHub.Nhs.Models.Entities.Content; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageSectionDetailMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageSectionDetailMap.cs index 45114b10e..1bdbb69c8 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageSectionDetailMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageSectionDetailMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Content +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Content { using LearningHub.Nhs.Models.Entities.Content; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageSectionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageSectionMap.cs index c2a9a647c..743cf7967 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageSectionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/PageSectionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Content +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Content { using LearningHub.Nhs.Models.Entities.Content; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/VideoAssetMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/VideoAssetMap.cs index ed7612065..4e7462144 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/VideoAssetMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Content/VideoAssetMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Content +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Content { using LearningHub.Nhs.Models.Entities.Content; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemDeepLinkMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemDeepLinkMap.cs index 6af2e9687..1f7f144c9 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemDeepLinkMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemDeepLinkMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.External +namespace LearningHub.Nhs.OpenApi.Repositories.Map.External { using LearningHub.Nhs.Models.Entities.External; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemMap.cs index d56ce25fa..24f2cede7 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.External +namespace LearningHub.Nhs.OpenApi.Repositories.Map.External { using LearningHub.Nhs.Models.Entities.External; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemUserMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemUserMap.cs index 87a088e68..f596c1182 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemUserMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/External/ExternalSystemUserMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.External +namespace LearningHub.Nhs.OpenApi.Repositories.Map.External { using LearningHub.Nhs.Models.Entities.External; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueAccessRequestMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueAccessRequestMap.cs index 59288c057..6f292785e 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueAccessRequestMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueAccessRequestMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueNodeVersionKeywordMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueNodeVersionKeywordMap.cs index 37676889b..439d24046 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueNodeVersionKeywordMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueNodeVersionKeywordMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueNodeVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueNodeVersionMap.cs index 89a32adf9..481deb6a5 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueNodeVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/CatalogueNodeVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeLinkMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeLinkMap.cs index e15623643..c5581bc6c 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeLinkMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeLinkMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using System; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeMap.cs index 28e8ace55..3273c16bb 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using System; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathDisplayMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathDisplayMap.cs index f5ea433bd..cbea25f3d 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathDisplayMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathDisplayMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using System; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathMap.cs index 064e45a38..8f6c708d8 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using System; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathNodeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathNodeMap.cs index b41fac8b6..cab769cc9 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathNodeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodePathNodeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using System; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeResourceMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeResourceMap.cs index 5a532b9dd..e532f596f 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeResourceMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeResourceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using System; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeVersionMap.cs index 0bc36ea5f..c54988480 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/NodeVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using System; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/PublicationMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/PublicationMap.cs index 7e7b84f0c..2d30feda6 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/PublicationMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Hierarchy/PublicationMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Hierarchy { using System; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/IEntityTypeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/IEntityTypeMap.cs index f8dc9cc20..3e9590a2e 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/IEntityTypeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/IEntityTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/LogMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/LogMap.cs index 42796cb3a..62ebffd0c 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/LogMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/LogMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/EmailTemplateLayoutMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/EmailTemplateLayoutMap.cs index fd94bc6ab..4a82ce7ca 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/EmailTemplateLayoutMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/EmailTemplateLayoutMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/EmailTemplateMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/EmailTemplateMap.cs index a077d63bc..94b712cfa 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/EmailTemplateMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/EmailTemplateMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging { using LearningHub.Nhs.Models.Entities; using LearningHub.Nhs.Models.Entities.Messaging; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageMap.cs index bafd275fb..2e9a997af 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageMetaDataMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageMetaDataMap.cs index 76736f094..4c91b12fe 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageMetaDataMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageMetaDataMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageSendMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageSendMap.cs index 50f308c74..9ee8210ca 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageSendMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageSendMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageSendRecipientMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageSendRecipientMap.cs index 2bd54def9..e149072e4 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageSendRecipientMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageSendRecipientMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageTypeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageTypeMap.cs index 21d6321b4..fccd8d781 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageTypeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Messaging/MessageTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationInputRecordMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationInputRecordMap.cs index 35383164b..1cdf6a525 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationInputRecordMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationInputRecordMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Migrations +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Migrations { using System; using LearningHub.Nhs.Models.Entities.Migration; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationMap.cs index 2524b9a4d..9b3ff9d09 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Migrations +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Migrations { using System; using LearningHub.Nhs.Models.Entities.Migration; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationSourceMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationSourceMap.cs index 3342cae18..088083f1a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationSourceMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Migrations/MigrationSourceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Migrations +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Migrations { using System; using LearningHub.Nhs.Models.Entities.Migration; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationMap.cs index 3d15feea2..49b3361eb 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationPriorityMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationPriorityMap.cs index 15f5307e2..3cb1af1e2 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationPriorityMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationPriorityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationTemplateMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationTemplateMap.cs index 7f133e6c4..0e0588b44 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationTemplateMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationTemplateMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationTypeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationTypeMap.cs index bf7b822db..1aa615699 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationTypeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/NotificationTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/PermissionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/PermissionMap.cs index 341a1e1c4..90907f4dc 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/PermissionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/PermissionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/PermissionRoleMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/PermissionRoleMap.cs index 675862ba8..9c110e412 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/PermissionRoleMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/PermissionRoleMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ArticleResourceVersionFileMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ArticleResourceVersionFileMap.cs index bbed202ff..566918c96 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ArticleResourceVersionFileMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ArticleResourceVersionFileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ArticleResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ArticleResourceVersionMap.cs index 90e5a5905..aa93e4c89 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ArticleResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ArticleResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/AssessmentResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/AssessmentResourceVersionMap.cs index d96409de6..2c3854524 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/AssessmentResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/AssessmentResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/AudioResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/AudioResourceVersionMap.cs index 47d886398..0f2c7cb80 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/AudioResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/AudioResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/AttachmentMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/AttachmentMap.cs index 6db7a032f..3a0299c33 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/AttachmentMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/AttachmentMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/BlockCollectionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/BlockCollectionMap.cs index e97132d2e..48d307070 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/BlockCollectionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/BlockCollectionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/BlockMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/BlockMap.cs index 574bd2384..4f5349db9 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/BlockMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/BlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/ImageMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/ImageMap.cs index 8825c16ab..25828e69c 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/ImageMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/ImageMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/MediaBlockMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/MediaBlockMap.cs index 2e3885faa..19af70c64 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/MediaBlockMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/MediaBlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/QuestionBlockMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/QuestionBlockMap.cs index d5a13537b..2835aaf19 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/QuestionBlockMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/QuestionBlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/TextBlockMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/TextBlockMap.cs index 5ccb49488..d5fbe5ecd 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/TextBlockMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/TextBlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/VideoMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/VideoMap.cs index bfe563ae2..8970b9462 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/VideoMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/VideoMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageAnnotationMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageAnnotationMap.cs index 2048ff398..18a94369a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageAnnotationMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageAnnotationMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageAnnotationMarkMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageAnnotationMarkMap.cs index a3f6b8298..2720b23db 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageAnnotationMarkMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageAnnotationMarkMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageBlockItemMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageBlockItemMap.cs index f6948baf0..7aacbf93b 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageBlockItemMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageBlockItemMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageBlockMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageBlockMap.cs index a185ffff3..b4b648ac3 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageBlockMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageBlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageMap.cs index fc271b392..9148bb01d 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/Blocks/WholeSlideImageMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/CaseResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/CaseResourceVersionMap.cs index 420321e77..a192651d4 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/CaseResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/CaseResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/EmbeddedResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/EmbeddedResourceVersionMap.cs index a2729b6ec..cc213f118 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/EmbeddedResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/EmbeddedResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/EquipmentResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/EquipmentResourceVersionMap.cs index 712de5911..43518b1da 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/EquipmentResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/EquipmentResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ExternalReferenceMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ExternalReferenceMap.cs index 9d295b100..4807716d0 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ExternalReferenceMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ExternalReferenceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ExternalReferenceUserAgreementMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ExternalReferenceUserAgreementMap.cs index 162a1ee74..75c136c77 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ExternalReferenceUserAgreementMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ExternalReferenceUserAgreementMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Entities.Resource; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileChunkDetailMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileChunkDetailMap.cs index e865cac41..fcc81895a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileChunkDetailMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileChunkDetailMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileMap.cs index d20afc03b..b6c75e10a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileTypeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileTypeMap.cs index b8c0dd6a1..9f6ed54a8 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileTypeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/FileTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/GenericFileResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/GenericFileResourceVersionMap.cs index 732606124..9938b989f 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/GenericFileResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/GenericFileResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ImageResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ImageResourceVersionMap.cs index b1014bbd9..6c5681f2f 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ImageResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ImageResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/PartialFileMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/PartialFileMap.cs index 5b131476e..e1b73f5cf 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/PartialFileMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/PartialFileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/QuestionAnswerMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/QuestionAnswerMap.cs index fbff39661..8560702b3 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/QuestionAnswerMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/QuestionAnswerMap.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceAzureMediaAssetMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceAzureMediaAssetMap.cs index dedecb3e9..0141b974d 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceAzureMediaAssetMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceAzureMediaAssetMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceLicenceMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceLicenceMap.cs index b41f13c3a..29ef07a94 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceLicenceMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceLicenceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceMap.cs index 4ef17cf27..363a75888 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceReferenceMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceReferenceMap.cs index 8da279202..2704db1a6 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceReferenceMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceReferenceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceSyncMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceSyncMap.cs index af172b842..2ff3e1723 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceSyncMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceSyncMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceTypeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceTypeMap.cs index c1d86d309..c0da44951 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceTypeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceTypeMap.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionAuthorMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionAuthorMap.cs index 7df0b4ddd..4526c2073 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionAuthorMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionAuthorMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using LearningHub.Nhs.Models.Enums; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionEventMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionEventMap.cs index 80f9fd694..4975b8eae 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionEventMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionEventMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionFlagMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionFlagMap.cs index deb848736..66d48c6e0 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionFlagMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionFlagMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionKeywordMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionKeywordMap.cs index 3d3616ec2..c6387360b 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionKeywordMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionKeywordMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionMap.cs index 5d7e8d760..a87bee808 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionRatingMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionRatingMap.cs index c5fb06a9d..99e349a68 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionRatingMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionRatingMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionRatingSummaryMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionRatingSummaryMap.cs index 65d35d9b8..27fae6fc9 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionRatingSummaryMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionRatingSummaryMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using System; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionUserAcceptanceMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionUserAcceptanceMap.cs index 60614e403..f7a2ed33a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionUserAcceptanceMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionUserAcceptanceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionValidationResultMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionValidationResultMap.cs index ca8fc493b..dc0bbfaba 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionValidationResultMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionValidationResultMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionValidationRuleResultMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionValidationRuleResultMap.cs index 730f75ccd..42ef20d1d 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionValidationRuleResultMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ResourceVersionValidationRuleResultMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ScormResourceVersionManifestMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ScormResourceVersionManifestMap.cs index b655c37a1..1ce8e36ed 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ScormResourceVersionManifestMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ScormResourceVersionManifestMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ScormResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ScormResourceVersionMap.cs index 5e46b18a4..0e7d58932 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ScormResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/ScormResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/UrlRewritingMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/UrlRewritingMap.cs index 9129f939d..700fcdb0c 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/UrlRewritingMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/UrlRewritingMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/VideoFileMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/VideoFileMap.cs index feeb641ae..d9bd312e8 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/VideoFileMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/VideoFileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/VideoResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/VideoResourceVersionMap.cs index acef0e3d4..3be4c814b 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/VideoResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/VideoResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/WebLinkResourceVersionMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/WebLinkResourceVersionMap.cs index 6a853decc..44aa44ad2 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/WebLinkResourceVersionMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/WebLinkResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/WholeSlideImageFileMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/WholeSlideImageFileMap.cs index dc8e61d1c..2ae7f7985 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/WholeSlideImageFileMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/Resources/WholeSlideImageFileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources +namespace LearningHub.Nhs.OpenApi.Repositories.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoadmapMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoadmapMap.cs index 9c140444e..83ddbc866 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoadmapMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoadmapMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using System; using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoadmapTypeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoadmapTypeMap.cs index e5816b19d..5283579f7 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoadmapTypeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoadmapTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using System; using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoleMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoleMap.cs index a7cf31c5c..26c4dd8c7 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoleMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoleMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoleUserGroupMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoleUserGroupMap.cs index 956ab0f6a..1da82f64b 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoleUserGroupMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/RoleUserGroupMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/ScopeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/ScopeMap.cs index 248c41f6f..e7043b9a5 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/ScopeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/ScopeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserDetailsMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserDetailsMap.cs index d702f3d20..4bd02ded9 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserDetailsMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserDetailsMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserGroupAttributeMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserGroupAttributeMap.cs index 478d61a71..f8db0e298 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserGroupAttributeMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserGroupAttributeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserGroupMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserGroupMap.cs index 11f1ec0eb..32479047a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserGroupMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserGroupMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserMap.cs index c48480765..1ba4c4730 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserNotificationMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserNotificationMap.cs index aa5874bdc..dbacc76df 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserNotificationMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserNotificationMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserProfileMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserProfileMap.cs index 83afcca7f..4e8915489 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserProfileMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserProfileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserUserGroupMap.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserUserGroupMap.cs index 11c934164..cb452653a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserUserGroupMap.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Map/UserUserGroupMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Map +namespace LearningHub.Nhs.OpenApi.Repositories.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Repositories/CatalogueRepository.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Repositories/CatalogueRepository.cs index 3724cf591..c4d8542b7 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Repositories/CatalogueRepository.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Repositories/CatalogueRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Repositories.Repositories +namespace LearningHub.Nhs.OpenApi.Repositories.Repositories { using System.Collections.Generic; using System.Linq; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Repositories/ResourceRepository.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Repositories/ResourceRepository.cs index 04426bb79..a826c627e 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Repositories/ResourceRepository.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Repositories/ResourceRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Repositories.Repositories { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Startup.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Startup.cs index e80b29f2d..5efc3ab79 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Startup.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Repositories/Startup.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Repositories { using LearningHub.Nhs.OpenApi.Repositories.EntityFramework; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/HttpClients/IFindwiseClient.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/HttpClients/IFindwiseClient.cs index d5c0b2eef..4500b0232 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/HttpClients/IFindwiseClient.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/HttpClients/IFindwiseClient.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Services.Interface.HttpClients { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/HttpClients/ILearningHubApiHttpClient.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/HttpClients/ILearningHubApiHttpClient.cs index 3043cdc52..ad045dba5 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/HttpClients/ILearningHubApiHttpClient.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/HttpClients/ILearningHubApiHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Services.Interface.HttpClients +namespace LearningHub.Nhs.OpenApi.Services.Interface.HttpClients { using System; using System.Net.Http; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/IBookmarkService.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/IBookmarkService.cs index 4735da70a..bca7b9cc9 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/IBookmarkService.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/IBookmarkService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Services.Interface.Services +namespace LearningHub.Nhs.OpenApi.Services.Interface.Services { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ICatalogueService.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ICatalogueService.cs index c2c44e7a7..90abd1185 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ICatalogueService.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ICatalogueService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Services.Interface.Services +namespace LearningHub.Nhs.OpenApi.Services.Interface.Services { using System.Threading.Tasks; using LearningHub.Nhs.OpenApi.Models.ViewModels; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ILearningHubService.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ILearningHubService.cs index 8daef1964..88f2d135d 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ILearningHubService.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ILearningHubService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Services.Interface.Services { /// diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/IResourceService.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/IResourceService.cs index 00f8477a3..8b2e46dee 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/IResourceService.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/IResourceService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Services.Interface.Services { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ISearchService.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ISearchService.cs index 9211ede21..63155c5eb 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ISearchService.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services.Interface/Services/ISearchService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Services.Interface.Services { using System.Threading.Tasks; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Helpers/ResourceHelpers.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Helpers/ResourceHelpers.cs index 386236076..7af062a83 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Helpers/ResourceHelpers.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Helpers/ResourceHelpers.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Services.Helpers { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services/HttpClients/FindwiseClient.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services/HttpClients/FindwiseClient.cs index 53910dd4a..1dcd6a42d 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services/HttpClients/FindwiseClient.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services/HttpClients/FindwiseClient.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Services.HttpClients { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services/HttpClients/LearningHubApiHttpClient.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services/HttpClients/LearningHubApiHttpClient.cs index 49bad0d06..ecd24fed5 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services/HttpClients/LearningHubApiHttpClient.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services/HttpClients/LearningHubApiHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Services.HttpClients +namespace LearningHub.Nhs.OpenApi.Services.HttpClients { using System; using System.Net.Http; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/BookmarkService.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/BookmarkService.cs index 5ceba1dc5..8b74ef1ac 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/BookmarkService.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/BookmarkService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Services.Services +namespace LearningHub.Nhs.OpenApi.Services.Services { using System.Collections.Generic; using System.Net; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/CatalogueService.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/CatalogueService.cs index 4b98ffba5..b82f00ccb 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/CatalogueService.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/CatalogueService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Services.Services +namespace LearningHub.Nhs.OpenApi.Services.Services { using System.Linq; using System.Threading.Tasks; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/LearningHubService.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/LearningHubService.cs index 17a8a2a98..6d8d082e3 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/LearningHubService.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/LearningHubService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Services.Services { using LearningHub.Nhs.OpenApi.Models.Configuration; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/ResourceService.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/ResourceService.cs index 4cd47b4d7..1e3f4e563 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/ResourceService.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/ResourceService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Services.Services { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/SearchService.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/SearchService.cs index 13b0b2070..656a8cb14 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/SearchService.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Services/SearchService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Services.Services { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Startup.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Startup.cs index 3b0ed6c15..49b85340d 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Services/Startup.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Services/Startup.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Services { using LearningHub.Nhs.OpenApi.Services.HttpClients; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Controllers/CatalogueControllerTests.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Controllers/CatalogueControllerTests.cs index faba3072c..239425510 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Controllers/CatalogueControllerTests.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Controllers/CatalogueControllerTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Tests.Controllers +namespace LearningHub.Nhs.OpenApi.Tests.Controllers { using System; using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Controllers/ResourceControllerTests.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Controllers/ResourceControllerTests.cs index 9ed25458f..49f901c72 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Controllers/ResourceControllerTests.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Controllers/ResourceControllerTests.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Tests.Controllers { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Helpers/ResourceHelperTests.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Helpers/ResourceHelperTests.cs index 6fca03434..401d02354 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Helpers/ResourceHelperTests.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Helpers/ResourceHelperTests.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Tests.Services.Helpers { using System.Linq; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/CatalogueServiceTests.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/CatalogueServiceTests.cs index e86006835..4c1f0227c 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/CatalogueServiceTests.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/CatalogueServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Tests.Services.Services +namespace LearningHub.Nhs.OpenApi.Tests.Services.Services { using System.Collections.Generic; using System.Linq; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/ResourceServiceTests.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/ResourceServiceTests.cs index eb7d4674c..d6ae8f3db 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/ResourceServiceTests.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/ResourceServiceTests.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Tests.Services.Services { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/SearchServiceTests.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/SearchServiceTests.cs index c806c540a..d393ce59d 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/SearchServiceTests.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/Services/Services/SearchServiceTests.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Tests.Services.Services { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/TestHelpers/CatalogueTestHelper.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/TestHelpers/CatalogueTestHelper.cs index baebf22b8..70a37a866 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/TestHelpers/CatalogueTestHelper.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/TestHelpers/CatalogueTestHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.OpenApi.Tests.TestHelpers +namespace LearningHub.Nhs.OpenApi.Tests.TestHelpers { using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/TestHelpers/ResourceTestHelper.cs b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/TestHelpers/ResourceTestHelper.cs index 0e4723242..6ee7ad63a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi.Tests/TestHelpers/ResourceTestHelper.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi.Tests/TestHelpers/ResourceTestHelper.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.OpenApi.Tests.TestHelpers { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKey.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKey.cs index 73ce76d5b..d34204482 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKey.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKey.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Auth { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyClient.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyClient.cs index 2ebb5fe32..e0c040f7e 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyClient.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyClient.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Auth { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyProvider.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyProvider.cs index d5847a07f..7d3207125 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyProvider.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyProvider.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Auth { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyRepository.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyRepository.cs index 474fb7ee7..d077d318b 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyRepository.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/ApiKeyRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Auth { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/AuthConstants.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/AuthConstants.cs index 504ac81a1..b5f9201c0 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/AuthConstants.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/AuthConstants.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Auth { /// diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/AuthStartup.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/AuthStartup.cs index f63a9ac40..bfe0d4223 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/AuthStartup.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/AuthStartup.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Auth { using AspNetCore.Authentication.ApiKey; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/IApiKeyRepository.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/IApiKeyRepository.cs index 81411b058..b782aa5d4 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Auth/IApiKeyRepository.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Auth/IApiKeyRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Auth { using AspNetCore.Authentication.ApiKey; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Configuration/AuthConfiguration.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Configuration/AuthConfiguration.cs index 6e0e71af0..fa279cc3a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Configuration/AuthConfiguration.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Configuration/AuthConfiguration.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Configuration { using System.Collections.Generic; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Configuration/ConfigurationExtensions.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Configuration/ConfigurationExtensions.cs index 15a180089..0d5310e1f 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Configuration/ConfigurationExtensions.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Configuration/ConfigurationExtensions.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Configuration { using LearningHub.Nhs.OpenApi.Models.Configuration; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/BookmarkController.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/BookmarkController.cs index e4bad98f4..d5897aa2a 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/BookmarkController.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/BookmarkController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.NHS.OpenAPI.Controllers +namespace LearningHub.NHS.OpenAPI.Controllers { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/CatalogueController.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/CatalogueController.cs index bf7d720a7..6fb0628fa 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/CatalogueController.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/CatalogueController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.NHS.OpenAPI.Controllers +namespace LearningHub.NHS.OpenAPI.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.OpenApi.Models.ViewModels; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/ResourceController.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/ResourceController.cs index cef7f3c6b..95591961f 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/ResourceController.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Controllers/ResourceController.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Controllers { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/HttpResponseExceptionFilter.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/HttpResponseExceptionFilter.cs index 23c6c59cf..8da0ea842 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/HttpResponseExceptionFilter.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/HttpResponseExceptionFilter.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Middleware { using LearningHub.Nhs.OpenApi.Models.Exceptions; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/MiddlewareStartup.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/MiddlewareStartup.cs index af5da5333..8f5794df7 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/MiddlewareStartup.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/MiddlewareStartup.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Middleware { using Microsoft.AspNetCore.Builder; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/RequestClientLoggingMiddleware.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/RequestClientLoggingMiddleware.cs index 8e87f2ae1..5d51f6bcd 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/RequestClientLoggingMiddleware.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Middleware/RequestClientLoggingMiddleware.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Middleware { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Program.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Program.cs index 1ec0dbcff..fdfa87e24 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Program.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Program.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI { using System; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Setup/NLogSetup.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Setup/NLogSetup.cs index 67d3174f8..842e01b78 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Setup/NLogSetup.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Setup/NLogSetup.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.NHS.OpenAPI.Setup { using Microsoft.ApplicationInsights.NLogTarget; diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/Startup.cs b/OpenAPI/LearningHub.Nhs.OpenApi/Startup.cs index 97a05a4ed..d9a3a757b 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/Startup.cs +++ b/OpenAPI/LearningHub.Nhs.OpenApi/Startup.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - using Microsoft.AspNetCore.Mvc; [assembly: ApiController] diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.1.0.json b/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.1.0.json index ddbe8c022..0f55810a9 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.1.0.json +++ b/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.1.0.json @@ -1,10 +1,10 @@ { "openapi": "3.0.1", - "info": { - "title": "LearningHub.NHS.OpenAPI", - "version": "1.1.0", - "description": "A set of API endpoints for retrieving learning resource information from the Learning Hub learning repository. The Learning Hub (https://learninghub.nhs.uk) is a platform for hosting and sharing learning resources for health and social care provided by Technology Enhanced Learning at Health Education England. An application API key must be used to authorise calls to the API from external applications. To contact TEL to discuss connecting your external system to the Learning Hub, email tel@hee.nhs.uk." - }, + "info": { + "title": "LearningHub.NHS.OpenAPI", + "version": "1.1.0", + "description": "A set of API endpoints for retrieving learning resource information from the Learning Hub learning platform. The [Learning Hub](https://learninghub.nhs.uk/) is a platform for hosting and sharing learning resources for health and social care provided by Technology Enhanced Learning (TEL) at NHS England. An application API key must be used to authorise calls to the API from external applications. To contact TEL to discuss connecting your external system to the Learning Hub, email [england.tel@nhs.net](england.tel@nhs.net)." + }, "paths": { "/Catalogues": { "get": { @@ -400,12 +400,12 @@ } }, "securitySchemes": { - "ApiKey": { - "type": "apiKey", - "name": "X-API-KEY", - "in": "header", - "description": "Application API key required to authorise all API requests. This must be obtained from the Learning Hub team at Health Education England, Technology Enhanced Learning" - } + "ApiKey": { + "type": "apiKey", + "name": "X-API-KEY", + "in": "header", + "description": "Application API key required to authorise all API requests. This must be obtained from the Learning Hub team at NHS England, Technology Enhanced Learning, contact us at [england.tel@nhs.net](england.tel@nhs.net)" + } } }, "security": [ diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.2.0.json b/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.2.0.json index bce34d169..e72b8eebf 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.2.0.json +++ b/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.2.0.json @@ -1,10 +1,10 @@ { "openapi": "3.0.1", - "info": { - "title": "LearningHub.NHS.OpenAPI", - "version": "1.2.0", - "description": "A set of API endpoints for retrieving learning resource information from the Learning Hub learning repository. The Learning Hub (https://learninghub.nhs.uk) is a platform for hosting and sharing learning resources for health and social care provided by Technology Enhanced Learning at Health Education England. An application API key must be used to authorise calls to the API from external applications. To contact TEL to discuss connecting your external system to the Learning Hub, email tel@hee.nhs.uk." - }, + "info": { + "title": "LearningHub.NHS.OpenAPI", + "version": "1.2.0", + "description": "A set of API endpoints for retrieving learning resource information from the Learning Hub learning platform. The [Learning Hub](https://learninghub.nhs.uk/) is a platform for hosting and sharing learning resources for health and social care provided by Technology Enhanced Learning (TEL) at NHS England. An application API key must be used to authorise calls to the API from external applications. To contact TEL to discuss connecting your external system to the Learning Hub, email [england.tel@nhs.net](england.tel@nhs.net)" + }, "paths": { "/Catalogues": { "get": { @@ -453,12 +453,12 @@ } }, "securitySchemes": { - "ApiKey": { - "type": "apiKey", - "name": "X-API-KEY", - "in": "header", - "description": "Application API key required to authorise all API requests. This must be obtained from the Learning Hub team at Health Education England, Technology Enhanced Learning" - } + "ApiKey": { + "type": "apiKey", + "name": "X-API-KEY", + "in": "header", + "description": "Application API key required to authorise all API requests. This must be obtained from the Learning Hub team at NHS England, Technology Enhanced Learning, contact us at [england.tel@nhs.net](england.tel@nhs.net)" + } } }, "security": [ diff --git a/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.3.0.json b/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.3.0.json index c64aef841..d77f6b823 100644 --- a/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.3.0.json +++ b/OpenAPI/LearningHub.Nhs.OpenApi/SwaggerDefinitions/v1.3.0.json @@ -1,10 +1,10 @@ { "openapi": "3.0.1", - "info": { - "title": "LearningHub.NHS.OpenAPI", - "version": "1.3.0", - "description": "A set of API endpoints for retrieving learning resource information from the Learning Hub learning repository. The Learning Hub (https://learninghub.nhs.uk) is a platform for hosting and sharing learning resources for health and social care provided by Technology Enhanced Learning at Health Education England. An application API key must be used to authorise calls to the API from external applications. To contact TEL to discuss connecting your external system to the Learning Hub, email tel@hee.nhs.uk." - }, + "info": { + "title": "LearningHub.NHS.OpenAPI", + "version": "1.3.0", + "description": "A set of API endpoints for retrieving learning resource information from the Learning Hub learning platform. The [Learning Hub](https://learninghub.nhs.uk/) is a platform for hosting and sharing learning resources for health and social care provided by Technology Enhanced Learning (TEL) at NHS England. An application API key must be used to authorise calls to the API from external applications. To contact TEL to discuss connecting your external system to the Learning Hub, email [england.tel@nhs.net](england.tel@nhs.net)" + }, "paths": { "/Bookmark/GetAllByParent": { "get": { @@ -545,12 +545,12 @@ } }, "securitySchemes": { - "ApiKey": { - "type": "apiKey", - "name": "X-API-KEY", - "in": "header", - "description": "Application API key required to authorise all API requests. This must be obtained from the Learning Hub team at Health Education England, Technology Enhanced Learning" - }, + "ApiKey": { + "type": "apiKey", + "name": "X-API-KEY", + "in": "header", + "description": "Application API key required to authorise all API requests. This must be obtained from the Learning Hub team at NHS England, Technology Enhanced Learning, contact us at [england.tel@nhs.net](england.tel@nhs.net)" + }, "OAuth": { "type": "oauth2", "flows": { diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IAzureBlobStorageService.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IAzureBlobStorageService.cs index 625130911..e5aea90a4 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IAzureBlobStorageService.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IAzureBlobStorageService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Services.Interface +namespace LearningHub.Nhs.ReportApi.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.ReportApi.Shared.Models; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/ILearningHubApiFacade.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/ILearningHubApiFacade.cs index b875f22a9..92f6f5e82 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/ILearningHubApiFacade.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/ILearningHubApiFacade.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Services.Interface +namespace LearningHub.Nhs.ReportApi.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/ILearningHubHttpClient.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/ILearningHubHttpClient.cs index 4bfcc84ff..52b5d6465 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/ILearningHubHttpClient.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/ILearningHubHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Services.Interface +namespace LearningHub.Nhs.ReportApi.Services.Interface { using System.Net.Http; using System.Threading.Tasks; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IPdfReportService.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IPdfReportService.cs index ae439650a..6552572af 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IPdfReportService.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IPdfReportService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Services.Interface +namespace LearningHub.Nhs.ReportApi.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IServiceBusMessageService.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IServiceBusMessageService.cs index 7dc9c9b08..16dc3bd92 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IServiceBusMessageService.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services.Interface/IServiceBusMessageService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Services.Interface +namespace LearningHub.Nhs.ReportApi.Services.Interface { using System.Threading.Tasks; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services.UnitTests/PdfReportServicesTests.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services.UnitTests/PdfReportServicesTests.cs index c9be6888d..a333c4358 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services.UnitTests/PdfReportServicesTests.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services.UnitTests/PdfReportServicesTests.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.ReportApi.Services.UnitTests { using System; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services/AzureBlobStorageService.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services/AzureBlobStorageService.cs index 6f03e404a..41d354ee0 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services/AzureBlobStorageService.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services/AzureBlobStorageService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Services +namespace LearningHub.Nhs.ReportApi.Services { using System.IO; using Azure; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services/BaseService.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services/BaseService.cs index 51d5fd22b..98faad3e6 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services/BaseService.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services/BaseService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Services +namespace LearningHub.Nhs.ReportApi.Services { using LearningHub.Nhs.ReportApi.Services.Interface; using Microsoft.Extensions.Logging; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services/LearningHubApiFacade.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services/LearningHubApiFacade.cs index 60e08f754..1037a7607 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services/LearningHubApiFacade.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services/LearningHubApiFacade.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Services +namespace LearningHub.Nhs.ReportApi.Services { using System; using System.Net.Http; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services/LearningHubHttpClient.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services/LearningHubHttpClient.cs index b06b3ad3f..54ca6b264 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services/LearningHubHttpClient.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services/LearningHubHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Services +namespace LearningHub.Nhs.ReportApi.Services { using System; using System.Net.Http; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services/PdfReportService.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services/PdfReportService.cs index bfc90f5a8..52b2fff3f 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services/PdfReportService.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services/PdfReportService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Services +namespace LearningHub.Nhs.ReportApi.Services { using System.IO; using System.Text; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Services/ServiceBusMessageService.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Services/ServiceBusMessageService.cs index 9bb51235b..07baf2342 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Services/ServiceBusMessageService.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Services/ServiceBusMessageService.cs @@ -1,5 +1,5 @@ -// -// Copyright (c) HEE.nhs.uk. +// +// Copyright (c) NHS England. // namespace LearningHub.Nhs.ReportApi.Services { diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/AzureBlobStorageSettings.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/AzureBlobStorageSettings.cs index 5afefe410..27d21a40a 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/AzureBlobStorageSettings.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/AzureBlobStorageSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Shared.Configuration +namespace LearningHub.Nhs.ReportApi.Shared.Configuration { /// /// Config AzureBlobStorageSettings. diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/AzureServiceBusSettings.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/AzureServiceBusSettings.cs index 0d18eea93..904ff0bae 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/AzureServiceBusSettings.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/AzureServiceBusSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Shared.Configuration +namespace LearningHub.Nhs.ReportApi.Shared.Configuration { /// /// Config AzureServiceBusSettings. diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/Settings.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/Settings.cs index d97a0690c..68c9083f3 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/Settings.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Configuration/Settings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Shared.Configuration +namespace LearningHub.Nhs.ReportApi.Shared.Configuration { /// /// The settings. diff --git a/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Models/BlobModel.cs b/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Models/BlobModel.cs index 068d120b5..1f1a763f5 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Models/BlobModel.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi.Shared/Models/BlobModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Shared.Models +namespace LearningHub.Nhs.ReportApi.Shared.Models { using System.IO; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi/Authentication/AuthorizeOrCallFromLHHandler.cs b/ReportAPI/LearningHub.Nhs.ReportApi/Authentication/AuthorizeOrCallFromLHHandler.cs index ab2137b42..8464d2599 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi/Authentication/AuthorizeOrCallFromLHHandler.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi/Authentication/AuthorizeOrCallFromLHHandler.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Authentication +namespace LearningHub.Nhs.ReportApi.Authentication { using System.Linq; using System.Threading.Tasks; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi/Authentication/AuthorizeOrCallFromLHRequirement.cs b/ReportAPI/LearningHub.Nhs.ReportApi/Authentication/AuthorizeOrCallFromLHRequirement.cs index 4bda7b912..8906ef77d 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi/Authentication/AuthorizeOrCallFromLHRequirement.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi/Authentication/AuthorizeOrCallFromLHRequirement.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Authentication +namespace LearningHub.Nhs.ReportApi.Authentication { using Microsoft.AspNetCore.Authorization; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi/Controllers/PdfReportController.cs b/ReportAPI/LearningHub.Nhs.ReportApi/Controllers/PdfReportController.cs index e6553d2c8..a43c0f812 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi/Controllers/PdfReportController.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi/Controllers/PdfReportController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Controllers +namespace LearningHub.Nhs.ReportApi.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi/Middleware/ExceptionMiddleware.cs b/ReportAPI/LearningHub.Nhs.ReportApi/Middleware/ExceptionMiddleware.cs index 02553508b..3302ab3f0 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi/Middleware/ExceptionMiddleware.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi/Middleware/ExceptionMiddleware.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi.Middleware +namespace LearningHub.Nhs.ReportApi.Middleware { using System; using System.Net; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi/Program.cs b/ReportAPI/LearningHub.Nhs.ReportApi/Program.cs index 2989174e6..d3de44e97 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi/Program.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi/Program.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - #pragma warning disable SA1200 // Using directives should be placed correctly using LearningHub.Nhs.ReportApi; using LearningHub.Nhs.ReportApi.Middleware; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi/ServiceCollectionExtension.cs b/ReportAPI/LearningHub.Nhs.ReportApi/ServiceCollectionExtension.cs index 2fcfb2263..82f3fbf0e 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi/ServiceCollectionExtension.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi/ServiceCollectionExtension.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.ReportApi +namespace LearningHub.Nhs.ReportApi { using System; using System.IO; diff --git a/ReportAPI/LearningHub.Nhs.ReportApi/ServiceMappings.cs b/ReportAPI/LearningHub.Nhs.ReportApi/ServiceMappings.cs index 9ab1824d8..f68b7ab52 100644 --- a/ReportAPI/LearningHub.Nhs.ReportApi/ServiceMappings.cs +++ b/ReportAPI/LearningHub.Nhs.ReportApi/ServiceMappings.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.ReportingApi { using AutoMapper; diff --git a/StyleCop.json b/StyleCop.json index e0163aeef..04b9b98e5 100644 --- a/StyleCop.json +++ b/StyleCop.json @@ -1,9 +1,3 @@ { "$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", - "settings": { - "documentationRules": { - "copyrightText": "Copyright (c) {companyName}.", - "companyName": "HEE.nhs.uk" - } - } } \ No newline at end of file diff --git a/StyleCop.ruleset b/StyleCop.ruleset index 281b0e05d..2ca4d83dc 100644 --- a/StyleCop.ruleset +++ b/StyleCop.ruleset @@ -1,5 +1,5 @@ - - + + @@ -69,99 +69,103 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WebAPI/LearningHub.Nhs.API/Authentication/AuthorizeOrCallFromLHHandler.cs b/WebAPI/LearningHub.Nhs.API/Authentication/AuthorizeOrCallFromLHHandler.cs index 2772e3c65..6b02cea1b 100644 --- a/WebAPI/LearningHub.Nhs.API/Authentication/AuthorizeOrCallFromLHHandler.cs +++ b/WebAPI/LearningHub.Nhs.API/Authentication/AuthorizeOrCallFromLHHandler.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Authentication +namespace LearningHub.Nhs.Api.Authentication { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.API/Authentication/AuthorizeOrCallFromLHRequirement.cs b/WebAPI/LearningHub.Nhs.API/Authentication/AuthorizeOrCallFromLHRequirement.cs index 48d65330a..b84ff4588 100644 --- a/WebAPI/LearningHub.Nhs.API/Authentication/AuthorizeOrCallFromLHRequirement.cs +++ b/WebAPI/LearningHub.Nhs.API/Authentication/AuthorizeOrCallFromLHRequirement.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Authentication +namespace LearningHub.Nhs.Api.Authentication { using Microsoft.AspNetCore.Authorization; diff --git a/WebAPI/LearningHub.Nhs.API/Authentication/ReadWriteHandler.cs b/WebAPI/LearningHub.Nhs.API/Authentication/ReadWriteHandler.cs index e8e501913..dec07aa4a 100644 --- a/WebAPI/LearningHub.Nhs.API/Authentication/ReadWriteHandler.cs +++ b/WebAPI/LearningHub.Nhs.API/Authentication/ReadWriteHandler.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Authentication +namespace LearningHub.Nhs.Api.Authentication { using System.Threading.Tasks; using LearningHub.Nhs.Api.Shared.Configuration; diff --git a/WebAPI/LearningHub.Nhs.API/Authentication/ReadWriteRequirement.cs b/WebAPI/LearningHub.Nhs.API/Authentication/ReadWriteRequirement.cs index 59000b302..261a93ce5 100644 --- a/WebAPI/LearningHub.Nhs.API/Authentication/ReadWriteRequirement.cs +++ b/WebAPI/LearningHub.Nhs.API/Authentication/ReadWriteRequirement.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Authentication +namespace LearningHub.Nhs.Api.Authentication { using System.Collections.Generic; using System.Security.Claims; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/ActivityController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/ActivityController.cs index 5e7a6e33a..49a9d01eb 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/ActivityController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/ActivityController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/ApiControllerBase.cs b/WebAPI/LearningHub.Nhs.API/Controllers/ApiControllerBase.cs index bc42509c6..76480ab3e 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/ApiControllerBase.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/ApiControllerBase.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Extensions; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/BookmarkController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/BookmarkController.cs index e5338ce35..7e79313a0 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/BookmarkController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/BookmarkController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Bookmark; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/CatalogueController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/CatalogueController.cs index 37742e925..4c5d06ea8 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/CatalogueController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/CatalogueController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/ContentController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/ContentController.cs index 2bd57470f..50c59dbb9 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/ContentController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/ContentController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/ContentServerController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/ContentServerController.cs index 672006aab..9c662942b 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/ContentServerController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/ContentServerController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/DashboardController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/DashboardController.cs index 8c5f95d52..503dd793c 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/DashboardController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/DashboardController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Services.Interface; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/DetectJsLogController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/DetectJsLogController.cs index 071f7e84e..15f60d783 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/DetectJsLogController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/DetectJsLogController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Services.Interface; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/EventController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/EventController.cs index b65797022..1258a8bcc 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/EventController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/EventController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/EventLogController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/EventLogController.cs index 2ee2add30..f19dc937f 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/EventLogController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/EventLogController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using LearningHub.Nhs.Models.Common; using LearningHub.Nhs.Models.EventLog; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/HierarchyController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/HierarchyController.cs index 95f437fd5..fc7293109 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/HierarchyController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/HierarchyController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/InternalSystemController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/InternalSystemController.cs index e9cb9ac9a..4c19d8c0a 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/InternalSystemController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/InternalSystemController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Maintenance; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/LogController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/LogController.cs index cab47af5c..94585dc4b 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/LogController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/LogController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/MessageController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/MessageController.cs index 52117ad2b..e85709ae6 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/MessageController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/MessageController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/MigrationController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/MigrationController.cs index 509e582db..53912bc82 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/MigrationController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/MigrationController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.IO; using System.Text; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/MyLearningController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/MyLearningController.cs index a86e3193a..703347d12 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/MyLearningController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/MyLearningController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.MyLearning; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/NotificationController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/NotificationController.cs index 98fb269a1..c611e693a 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/NotificationController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/NotificationController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/PartialFileController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/PartialFileController.cs index 41c276ca9..b7d7323f0 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/PartialFileController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/PartialFileController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/PermissionController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/PermissionController.cs index 540cff4b0..a11477913 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/PermissionController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/PermissionController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/ProviderController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/ProviderController.cs index 3bb0b2947..200de4572 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/ProviderController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/ProviderController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/RatingController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/RatingController.cs index d05cbca34..e9951460d 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/RatingController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/RatingController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/ReportController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/ReportController.cs index e339db26b..543ea8a50 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/ReportController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/ReportController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/ResourceController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/ResourceController.cs index 6581f9b3e..9ea34cdf4 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/ResourceController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/ResourceController.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Api.Controllers { using System; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/ResourceSyncController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/ResourceSyncController.cs index 57c85569b..0228c54b2 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/ResourceSyncController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/ResourceSyncController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/RoadmapController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/RoadmapController.cs index dd8fece61..3dc4c3c01 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/RoadmapController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/RoadmapController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/RoleController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/RoleController.cs index a5740e431..031d9a818 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/RoleController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/RoleController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/SearchController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/SearchController.cs index 7383fa9eb..424e54b0f 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/SearchController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/SearchController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/UserController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/UserController.cs index 10742973b..838e2e0a2 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/UserController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/UserController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using System.Web; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/UserGroupController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/UserGroupController.cs index a0461f843..51da87d5f 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/UserGroupController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/UserGroupController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/UserLearningRecordController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/UserLearningRecordController.cs index 7564c8aba..b28b8e8ed 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/UserLearningRecordController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/UserLearningRecordController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using elfhHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/UserNotificationController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/UserNotificationController.cs index 4941bc867..18ed1ce4d 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/UserNotificationController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/UserNotificationController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/VideoController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/VideoController.cs index b68af4ac3..a4937f292 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/VideoController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/VideoController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using AutoMapper; diff --git a/WebAPI/LearningHub.Nhs.API/Controllers/WholeSlideImageController.cs b/WebAPI/LearningHub.Nhs.API/Controllers/WholeSlideImageController.cs index 38e05fe69..2bb7fb31a 100644 --- a/WebAPI/LearningHub.Nhs.API/Controllers/WholeSlideImageController.cs +++ b/WebAPI/LearningHub.Nhs.API/Controllers/WholeSlideImageController.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Controllers +namespace LearningHub.Nhs.Api.Controllers { using System.Threading.Tasks; using AutoMapper; diff --git a/WebAPI/LearningHub.Nhs.API/GlobalSuppressions.cs b/WebAPI/LearningHub.Nhs.API/GlobalSuppressions.cs index 4d3ac3802..d1326b377 100644 --- a/WebAPI/LearningHub.Nhs.API/GlobalSuppressions.cs +++ b/WebAPI/LearningHub.Nhs.API/GlobalSuppressions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1124:Do not use regions", Justification = "Regions allowed", Scope = "member", Target = "~M:LearningHub.Nhs.Api.Controllers.ResourceController.GetAsync(System.Int32)~System.Threading.Tasks.Task{Microsoft.AspNetCore.Mvc.ActionResult}")] [assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1124:Do not use regions", Justification = "Regions allowed", Scope = "member", Target = "~M:LearningHub.Nhs.Api.Controllers.ResourceController.GetResourceVersionAsync(System.Int32)~System.Threading.Tasks.Task{Microsoft.AspNetCore.Mvc.ActionResult}")] diff --git a/WebAPI/LearningHub.Nhs.API/Helpers/QuerystringHelper.cs b/WebAPI/LearningHub.Nhs.API/Helpers/QuerystringHelper.cs index e68a3b660..645388876 100644 --- a/WebAPI/LearningHub.Nhs.API/Helpers/QuerystringHelper.cs +++ b/WebAPI/LearningHub.Nhs.API/Helpers/QuerystringHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Helpers +namespace LearningHub.Nhs.Api.Helpers { /// /// The querystring helper. diff --git a/WebAPI/LearningHub.Nhs.API/LearningHub.Nhs.Api.csproj b/WebAPI/LearningHub.Nhs.API/LearningHub.Nhs.Api.csproj index d0b8cbace..e56e18a79 100644 --- a/WebAPI/LearningHub.Nhs.API/LearningHub.Nhs.Api.csproj +++ b/WebAPI/LearningHub.Nhs.API/LearningHub.Nhs.Api.csproj @@ -27,7 +27,7 @@ - + diff --git a/WebAPI/LearningHub.Nhs.API/Middleware/ExceptionMiddleware.cs b/WebAPI/LearningHub.Nhs.API/Middleware/ExceptionMiddleware.cs index 56cc69d26..f59906202 100644 --- a/WebAPI/LearningHub.Nhs.API/Middleware/ExceptionMiddleware.cs +++ b/WebAPI/LearningHub.Nhs.API/Middleware/ExceptionMiddleware.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Middleware +namespace LearningHub.Nhs.Api.Middleware { using System; using System.Net; diff --git a/WebAPI/LearningHub.Nhs.API/Middleware/NLogMiddleware.cs b/WebAPI/LearningHub.Nhs.API/Middleware/NLogMiddleware.cs index b0b7184b8..06c094dd1 100644 --- a/WebAPI/LearningHub.Nhs.API/Middleware/NLogMiddleware.cs +++ b/WebAPI/LearningHub.Nhs.API/Middleware/NLogMiddleware.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Middleware +namespace LearningHub.Nhs.Api.Middleware { using System.Threading.Tasks; using LearningHub.Nhs.Models.Extensions; diff --git a/WebAPI/LearningHub.Nhs.API/Program.cs b/WebAPI/LearningHub.Nhs.API/Program.cs index 47a138cc7..1bf33805f 100644 --- a/WebAPI/LearningHub.Nhs.API/Program.cs +++ b/WebAPI/LearningHub.Nhs.API/Program.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -#pragma warning disable SA1200 // Using directives should be placed correctly +#pragma warning disable SA1200 // Using directives should be placed correctly using System; using LearningHub.Nhs.Api; using LearningHub.Nhs.Api.Middleware; diff --git a/WebAPI/LearningHub.Nhs.API/ServiceCollectionExtension.cs b/WebAPI/LearningHub.Nhs.API/ServiceCollectionExtension.cs index 8b52d6c05..528533f0d 100644 --- a/WebAPI/LearningHub.Nhs.API/ServiceCollectionExtension.cs +++ b/WebAPI/LearningHub.Nhs.API/ServiceCollectionExtension.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api +namespace LearningHub.Nhs.Api { using System; using System.IO; diff --git a/WebAPI/LearningHub.Nhs.API/Startup/ServiceMappings.cs b/WebAPI/LearningHub.Nhs.API/Startup/ServiceMappings.cs index 08b23623c..03bf68127 100644 --- a/WebAPI/LearningHub.Nhs.API/Startup/ServiceMappings.cs +++ b/WebAPI/LearningHub.Nhs.API/Startup/ServiceMappings.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Api { using System; diff --git a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/AzureBlobSettings.cs b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/AzureBlobSettings.cs index d87b16cba..7a24ecfd8 100644 --- a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/AzureBlobSettings.cs +++ b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/AzureBlobSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Shared.Configuration +namespace LearningHub.Nhs.Api.Shared.Configuration { /// /// Config AzureBlobSettings. diff --git a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/AzureClientCredentialSettings.cs b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/AzureClientCredentialSettings.cs index 04620af2e..297b8ef3a 100644 --- a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/AzureClientCredentialSettings.cs +++ b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/AzureClientCredentialSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Shared.Configuration +namespace LearningHub.Nhs.Api.Shared.Configuration { /// /// The AzureClientCredentialSettings. diff --git a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/ElfhCacheSettings.cs b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/ElfhCacheSettings.cs index f3c19fec5..e08640e77 100644 --- a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/ElfhCacheSettings.cs +++ b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/ElfhCacheSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Shared.Configuration +namespace LearningHub.Nhs.Api.Shared.Configuration { /// /// The ELFH cache settings. diff --git a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/FindwiseCollectionIdSettings.cs b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/FindwiseCollectionIdSettings.cs index b1fc206e6..25d91ec84 100644 --- a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/FindwiseCollectionIdSettings.cs +++ b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/FindwiseCollectionIdSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Shared.Configuration +namespace LearningHub.Nhs.Api.Shared.Configuration { /// /// The FindwiseCollectionIdSettings. diff --git a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/FindwiseSettings.cs b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/FindwiseSettings.cs index 17c52bf62..57d0a8fb2 100644 --- a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/FindwiseSettings.cs +++ b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/FindwiseSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Shared.Configuration +namespace LearningHub.Nhs.Api.Shared.Configuration { /// /// The FindwiseSettings. diff --git a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/MigrationToolSettings.cs b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/MigrationToolSettings.cs index 9103784f6..bcfa50e66 100644 --- a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/MigrationToolSettings.cs +++ b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/MigrationToolSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Shared.Configuration +namespace LearningHub.Nhs.Api.Shared.Configuration { /// /// The FindwiseSettings. diff --git a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/NotificationSettings.cs b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/NotificationSettings.cs index 854f03042..40848a4ba 100644 --- a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/NotificationSettings.cs +++ b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/NotificationSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Shared.Configuration +namespace LearningHub.Nhs.Api.Shared.Configuration { /// /// The Notification Settings. diff --git a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/Settings.cs b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/Settings.cs index 26403b100..13b2b0654 100644 --- a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/Settings.cs +++ b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/Settings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Shared.Configuration +namespace LearningHub.Nhs.Api.Shared.Configuration { using System; diff --git a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/StagingTableSettings.cs b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/StagingTableSettings.cs index 6113f6150..0e4f4c556 100644 --- a/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/StagingTableSettings.cs +++ b/WebAPI/LearningHub.Nhs.Api.Shared/Configuration/StagingTableSettings.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.Shared.Configuration +namespace LearningHub.Nhs.Api.Shared.Configuration { /// /// The StagingTable migration settings for the Migration Tool. diff --git a/WebAPI/LearningHub.Nhs.Api.Shared/LearningHub.Nhs.Api.Shared.csproj b/WebAPI/LearningHub.Nhs.Api.Shared/LearningHub.Nhs.Api.Shared.csproj index 1a077edd8..0df2956b9 100644 --- a/WebAPI/LearningHub.Nhs.Api.Shared/LearningHub.Nhs.Api.Shared.csproj +++ b/WebAPI/LearningHub.Nhs.Api.Shared/LearningHub.Nhs.Api.Shared.csproj @@ -9,7 +9,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/CatalogueControllerTests.cs b/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/CatalogueControllerTests.cs index b81aad7a6..e9ae4cd83 100644 --- a/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/CatalogueControllerTests.cs +++ b/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/CatalogueControllerTests.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Api.UnitTests.Controllers { using System; diff --git a/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/LogControllerTests.cs b/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/LogControllerTests.cs index fb45bc294..a9af86238 100644 --- a/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/LogControllerTests.cs +++ b/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/LogControllerTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.UnitTests.Controllers +namespace LearningHub.Nhs.Api.UnitTests.Controllers { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/MigrationControllerTests.cs b/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/MigrationControllerTests.cs index a19bf9e91..2bc88f31b 100644 --- a/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/MigrationControllerTests.cs +++ b/WebAPI/LearningHub.Nhs.Api.UnitTests/Controllers/MigrationControllerTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Api.UnitTests.Controllers +namespace LearningHub.Nhs.Api.UnitTests.Controllers { using System.Collections.Generic; using System.Security.Claims; diff --git a/WebAPI/LearningHub.Nhs.Api.UnitTests/LearningHub.Nhs.Api.UnitTests.csproj b/WebAPI/LearningHub.Nhs.Api.UnitTests/LearningHub.Nhs.Api.UnitTests.csproj index cf477a8d2..acf8cf30b 100644 --- a/WebAPI/LearningHub.Nhs.Api.UnitTests/LearningHub.Nhs.Api.UnitTests.csproj +++ b/WebAPI/LearningHub.Nhs.Api.UnitTests/LearningHub.Nhs.Api.UnitTests.csproj @@ -11,7 +11,7 @@ - + diff --git a/WebAPI/LearningHub.Nhs.Database/LearningHub.Nhs.Database.sqlproj b/WebAPI/LearningHub.Nhs.Database/LearningHub.Nhs.Database.sqlproj index 10abd06ef..b9cd9238d 100644 --- a/WebAPI/LearningHub.Nhs.Database/LearningHub.Nhs.Database.sqlproj +++ b/WebAPI/LearningHub.Nhs.Database/LearningHub.Nhs.Database.sqlproj @@ -98,6 +98,8 @@ + + @@ -506,6 +508,7 @@ + diff --git a/WebAPI/LearningHub.Nhs.Database/Scripts/External/AddDigitalLearningSolutionsSso.sql b/WebAPI/LearningHub.Nhs.Database/Scripts/External/AddDigitalLearningSolutionsSso.sql new file mode 100644 index 000000000..27c0d2056 --- /dev/null +++ b/WebAPI/LearningHub.Nhs.Database/Scripts/External/AddDigitalLearningSolutionsSso.sql @@ -0,0 +1,23 @@ +/* +Script for adding DigitalLearningSolutionsSso ExternalSystemUser to users which already have DigitalLearningSolutions ExternalSystemUser +*/ +DECLARE @DigitalLearningSolutionsId INT; +DECLARE @DigitalLearningSolutionsSsoId INT; + +SELECT @DigitalLearningSolutionsId = id + FROM [external].[ExternalSystem] + WHERE code = 'DigitalLearningSolutions'; + +SELECT @DigitalLearningSolutionsSsoId = id + FROM [external].[ExternalSystem] + WHERE code = 'DigitalLearningSolutionsSso'; + +INSERT INTO [external].[ExternalSystemUser] (UserId, ExternalSystemId, Deleted, CreateUserId, CreateDate, AmendUserId, AmendDate) +SELECT UserId, @DigitalLearningSolutionsId, Deleted, 4, SYSDATETIMEOFFSET(), 4, SYSDATETIMEOFFSET() +FROM [external].[ExternalSystemUser] +WHERE ExternalSystemId = @DigitalLearningSolutionsSsoId + AND userId NOT IN ( + SELECT userId + FROM [external].[ExternalSystemUser] + WHERE ExternalSystemId = @DigitalLearningSolutionsId + ); \ No newline at end of file diff --git a/WebAPI/LearningHub.Nhs.Database/Stored Procedures/Resources/GetDashboardResources.sql b/WebAPI/LearningHub.Nhs.Database/Stored Procedures/Resources/GetDashboardResources.sql index 18d83863b..52761d817 100644 --- a/WebAPI/LearningHub.Nhs.Database/Stored Procedures/Resources/GetDashboardResources.sql +++ b/WebAPI/LearningHub.Nhs.Database/Stored Procedures/Resources/GetDashboardResources.sql @@ -15,6 +15,7 @@ -- 15 Jun 2023 RS Re-added BadgeUrl column following design change -- 27 Sep 2023 HV Included Paging and user resource activity -- 08 Nov 2023 OA Fixed latest resource activity entry selection(with updated logic for media activities) and status check for incomplete assessment. +-- 27 Feb 2024 SS Fixed missing In progress resources in the My Accessed Learning tray issue ------------------------------------------------------------------------------- CREATE PROCEDURE [resources].[GetDashboardResources] @@ -222,8 +223,8 @@ BEGIN BEGIN INSERT INTO @MyActivity SELECT TOP (@MaxRows) ra.ResourceId, MAX(ra.Id) ResourceActivityId - FROM - (SELECT a.* FROM activity.ResourceActivity a INNER JOIN (SELECT ResourceId, MAX(Id) as id FROM activity.ResourceActivity GROUP BY ResourceId ) AS b ON a.ResourceId = b.ResourceId AND a.id = b.id order by a.Id desc OFFSET 0 ROWS) ra + FROM + (SELECT a.* FROM activity.ResourceActivity a INNER JOIN (SELECT ResourceId, MAX(Id) as id FROM activity.ResourceActivity GROUP BY ResourceId,ActivityStatusId ) AS b ON a.ResourceId = b.ResourceId AND a.id = b.id order by a.Id desc OFFSET 0 ROWS) ra JOIN [resources].[Resource] r ON ra.ResourceId = r.Id JOIN [resources].[ResourceVersion] rv ON rv.Id = ra.ResourceVersionId LEFT JOIN [resources].[AssessmentResourceVersion] arv ON arv.ResourceVersionId = ra.ResourceVersionId @@ -234,7 +235,7 @@ BEGIN AND ( (r.ResourceTypeId IN (1, 5, 8, 10, 12) AND ra.ActivityStatusId <> 1) OR (r.ResourceTypeId IN (2, 7) AND (mar.Id IS NULL OR (mar.Id IS NOT NULL AND mar.PercentComplete < 100) OR ra.ActivityStart < '2020-09-07 00:00:00 +00:00')) - OR (r.ResourceTypeId = 6 AND sa.CmiCoreLesson_status NOT IN (3, 5)) + OR (r.ResourceTypeId = 6 AND (sa.CmiCoreLesson_status NOT IN (3, 5) AND (ra.ActivityStatusId NOT IN(3, 5)))) OR (r.ResourceTypeId IN (9) AND ra.ActivityStatusId NOT IN (6)) OR (r.ResourceTypeId = 11 AND ((ara.Id IS NOT NULL AND ara.score < arv.PassMark) OR ra.ActivityStatusId IN (1))) ) diff --git a/WebAPI/LearningHub.Nhs.Database/Triggers/external/AddDigitalLearningSolutionsExternalSystem.sql b/WebAPI/LearningHub.Nhs.Database/Triggers/external/AddDigitalLearningSolutionsExternalSystem.sql new file mode 100644 index 000000000..7ce24a0b1 --- /dev/null +++ b/WebAPI/LearningHub.Nhs.Database/Triggers/external/AddDigitalLearningSolutionsExternalSystem.sql @@ -0,0 +1,35 @@ + +------------------------------------------------------------------------------- +-- Author Colin Beeby +-- Created 21-03-2024 +-- Purpose Ensure that when a user is associated with external system DigitalLearningSolutionsSso, they are also associated with DigitalLearningSolutions +-- +-- Modification History +-- +-- 21-03-2024 ColB Initial Version +------------------------------------------------------------------------------- + +CREATE TRIGGER [external].InsertTrigger_AddDigitalLearningSolutionsExternalSystem +ON [external].[ExternalSystemUser] +FOR INSERT +AS +BEGIN + DECLARE @DigitalLearningSolutionsId INT; + DECLARE @DigitalLearningSolutionsSsoId INT; + + SELECT @DigitalLearningSolutionsId = id + FROM [external].[ExternalSystem] + WHERE code = 'DigitalLearningSolutions'; + + SELECT @DigitalLearningSolutionsSsoId = id + FROM [external].[ExternalSystem] + WHERE code = 'DigitalLearningSolutionsSso'; + + + IF EXISTS (SELECT 1 FROM inserted WHERE ExternalSystemId = @DigitalLearningSolutionsSsoId) + BEGIN + INSERT INTO ExternalSystemUser (UserId, ExternalSystemId, Deleted, CreateUserId, CreateDate, AmendUserId, AmendDate) + SELECT UserId, @DigitalLearningSolutionsId, Deleted, CreateUserId, CreateDate, AmendUserId, AmendDate + FROM inserted; + END +END; \ No newline at end of file diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityInteractionAnswerRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityInteractionAnswerRepository.cs index d87cd8d89..f7f3fe4b7 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityInteractionAnswerRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityInteractionAnswerRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Activity +namespace LearningHub.Nhs.Repository.Interface.Activity { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Activity; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityInteractionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityInteractionRepository.cs index 8796e043c..b9a9f9525 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityInteractionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityInteractionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Activity +namespace LearningHub.Nhs.Repository.Interface.Activity { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityMatchQuestionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityMatchQuestionRepository.cs index 1cea9edd0..92320f178 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityMatchQuestionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityMatchQuestionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Activity +namespace LearningHub.Nhs.Repository.Interface.Activity { using System.Collections.Generic; using LearningHub.Nhs.Models.Entities.Activity; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityRepository.cs index 1d526cb36..335c3945f 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IAssessmentResourceActivityRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Activity +namespace LearningHub.Nhs.Repository.Interface.Activity { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Activity; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourceActivityInteractionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourceActivityInteractionRepository.cs index 0bef547cf..089bb120f 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourceActivityInteractionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourceActivityInteractionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Activity +namespace LearningHub.Nhs.Repository.Interface.Activity { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Activity; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourceActivityRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourceActivityRepository.cs index 2bc91ce6f..6a20c9d05 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourceActivityRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourceActivityRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Activity +namespace LearningHub.Nhs.Repository.Interface.Activity { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Activity; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourcePlayedSegmentRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourcePlayedSegmentRepository.cs index 9f98d67a2..c94a8375d 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourcePlayedSegmentRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IMediaResourcePlayedSegmentRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Activity +namespace LearningHub.Nhs.Repository.Interface.Activity { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/INodeActivityRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/INodeActivityRepository.cs index 9cb79a64c..c79afc57b 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/INodeActivityRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/INodeActivityRepository.cs @@ -1,5 +1,5 @@ -// -// Copyright (c) HEE.nhs.uk. +// +// Copyright (c) NHS England. // namespace LearningHub.Nhs.Repository.Interface.Activity { diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IResourceActivityRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IResourceActivityRepository.cs index 122d04200..3910df5cd 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IResourceActivityRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IResourceActivityRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Activity +namespace LearningHub.Nhs.Repository.Interface.Activity { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IScormActivityRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IScormActivityRepository.cs index 4e96f076b..cafd66775 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IScormActivityRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Activity/IScormActivityRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Activity +namespace LearningHub.Nhs.Repository.Interface.Activity { using System.Threading.Tasks; using LearningHub.Nhs.Models.Dto; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Analytics/IEventRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Analytics/IEventRepository.cs index aea88651a..7af6d2c35 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Analytics/IEventRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Analytics/IEventRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Analytics +namespace LearningHub.Nhs.Repository.Interface.Analytics { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Analytics; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageRepository.cs index 12a82fba6..b2dfc5bde 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Content +namespace LearningHub.Nhs.Repository.Interface.Content { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageSectionDetailRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageSectionDetailRepository.cs index cc1c33f87..7002c6244 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageSectionDetailRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageSectionDetailRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Content +namespace LearningHub.Nhs.Repository.Interface.Content { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Content; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageSectionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageSectionRepository.cs index b29d0971b..3586aa4a8 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageSectionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IPageSectionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Content +namespace LearningHub.Nhs.Repository.Interface.Content { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Content; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IVideoAssetRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IVideoAssetRepository.cs index 18748e642..03c601713 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IVideoAssetRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Content/IVideoAssetRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Content +namespace LearningHub.Nhs.Repository.Interface.Content { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Content; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueAccessRequestRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueAccessRequestRepository.cs index 877307688..4fe8487ab 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueAccessRequestRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueAccessRequestRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionKeywordRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionKeywordRepository.cs index abfbe5343..9d3c64c74 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionKeywordRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionKeywordRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionProviderRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionProviderRepository.cs index 8bb940441..8d6b20321 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionProviderRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionProviderRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionRepository.cs index 851e229d0..eb3eed968 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/ICatalogueNodeVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IFolderNodeVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IFolderNodeVersionRepository.cs index f822a524c..1f0dcc6a3 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IFolderNodeVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IFolderNodeVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IHierarchyEditDetailRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IHierarchyEditDetailRepository.cs index dca5c6989..33aeb46b9 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IHierarchyEditDetailRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IHierarchyEditDetailRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IHierarchyEditRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IHierarchyEditRepository.cs index f3278431e..a1a7373e8 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IHierarchyEditRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IHierarchyEditRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodePathRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodePathRepository.cs index 428bd8003..3ef45fe65 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodePathRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodePathRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeRepository.cs index aa31a54d2..a6a4ff91c 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeResourceLookupRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeResourceLookupRepository.cs index 80ec8f0fc..f70ce0a59 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeResourceLookupRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeResourceLookupRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeResourceRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeResourceRepository.cs index 253d854c7..25b836e7c 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeResourceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeResourceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeVersionRepository.cs index 013ac01f5..56202ff6d 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/INodeVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IPublicationLogRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IPublicationLogRepository.cs index eaaae9ddb..421fb764c 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IPublicationLogRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IPublicationLogRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IPublicationRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IPublicationRepository.cs index f9bff002c..c7be495c8 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IPublicationRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Hierarchy/IPublicationRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Hierarchy +namespace LearningHub.Nhs.Repository.Interface.Hierarchy { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IBookmarkRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IBookmarkRepository.cs index 72976912e..ceb461780 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IBookmarkRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IBookmarkRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IDetectJsLogRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IDetectJsLogRepository.cs index 1ddfe29af..74570d337 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IDetectJsLogRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IDetectJsLogRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Interface { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IEmailChangeValidationTokenRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IEmailChangeValidationTokenRepository.cs index 80bbc098e..c4003145b 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IEmailChangeValidationTokenRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IEmailChangeValidationTokenRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IEventLogRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IEventLogRepository.cs index 03515aab2..5ca038d69 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IEventLogRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IEventLogRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using LearningHub.Nhs.Models.Enums; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IGenericRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IGenericRepository.cs index f68f2d972..c249535b3 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IGenericRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IGenericRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/ILogRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/ILogRepository.cs index 7bdcbd69a..71f08b899 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/ILogRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/ILogRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/INotificationRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/INotificationRepository.cs index e97d60b90..d48a923ee 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/INotificationRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/INotificationRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/INotificationTemplateRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/INotificationTemplateRepository.cs index 0590e0403..3be38d988 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/INotificationTemplateRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/INotificationTemplateRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using LearningHub.Nhs.Models.Entities; using LearningHub.Nhs.Models.Enums; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IPermissionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IPermissionRepository.cs index 4238fe26c..44c2ba141 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IPermissionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IPermissionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IProviderRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IProviderRepository.cs index 85bf08d65..6090845dd 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IProviderRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IProviderRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IRoadmapRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IRoadmapRepository.cs index 238450894..925342422 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IRoadmapRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IRoadmapRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Collections.Generic; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IRoleRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IRoleRepository.cs index de75bb283..082a7142d 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IRoleRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IRoleRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IRoleUserGroupRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IRoleUserGroupRepository.cs index 8ee732468..421f18dda 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IRoleUserGroupRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IRoleUserGroupRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IScopeRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IScopeRepository.cs index a89adefa2..4a2907aea 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IScopeRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IScopeRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/ITimezoneOffsetManager.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/ITimezoneOffsetManager.cs index fbee6420a..e90e935eb 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/ITimezoneOffsetManager.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/ITimezoneOffsetManager.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/ITransactionManager.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/ITransactionManager.cs index 559821ccb..054c55c11 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/ITransactionManager.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/ITransactionManager.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using Microsoft.EntityFrameworkCore.Storage; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserGroupAttributeRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserGroupAttributeRepository.cs index 2add055b7..ccfd066ed 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserGroupAttributeRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserGroupAttributeRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserGroupRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserGroupRepository.cs index c2b349183..e2008fd23 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserGroupRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserGroupRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserNotificationRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserNotificationRepository.cs index 04e2c904d..aeb3acd84 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserNotificationRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserNotificationRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserProfileRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserProfileRepository.cs index cf9379988..f5d5b78b3 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserProfileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserProfileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserProviderRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserProviderRepository.cs index 0ad42f8ed..3e6539807 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserProviderRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserProviderRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserRepository.cs index 8368b25e8..b5f2cb786 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserUserGroupRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserUserGroupRepository.cs index 35aad079d..289cfc5ea 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/IUserUserGroupRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/IUserUserGroupRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/LearningHub.Nhs.Repository.Interface.csproj b/WebAPI/LearningHub.Nhs.Repository.Interface/LearningHub.Nhs.Repository.Interface.csproj index 3cd8e1a81..a9edf892b 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/LearningHub.Nhs.Repository.Interface.csproj +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/LearningHub.Nhs.Repository.Interface.csproj @@ -9,7 +9,7 @@ - + diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Maintenance/IInternalSystemRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Maintenance/IInternalSystemRepository.cs index daa74268c..aa05f3284 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Maintenance/IInternalSystemRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Maintenance/IInternalSystemRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Maintenance +namespace LearningHub.Nhs.Repository.Interface.Maintenance { using LearningHub.Nhs.Models.Entities.Maintenance; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Messaging/IEmailTemplateRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Messaging/IEmailTemplateRepository.cs index 9ba707f0c..16ac76739 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Messaging/IEmailTemplateRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Messaging/IEmailTemplateRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Messaging +namespace LearningHub.Nhs.Repository.Interface.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Messaging/IMessageRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Messaging/IMessageRepository.cs index 0eb3a773e..6c9eb6ee5 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Messaging/IMessageRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Messaging/IMessageRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Messaging +namespace LearningHub.Nhs.Repository.Interface.Messaging { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationInputRecordRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationInputRecordRepository.cs index 2e5ffb05b..7a93cb31b 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationInputRecordRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationInputRecordRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Migrations +namespace LearningHub.Nhs.Repository.Interface.Migrations { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationRepository.cs index 018f8b0ad..d550906d5 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Migrations +namespace LearningHub.Nhs.Repository.Interface.Migrations { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationSourceRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationSourceRepository.cs index 347b5dedb..b664380a8 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationSourceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Migrations/IMigrationSourceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Migrations +namespace LearningHub.Nhs.Repository.Interface.Migrations { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Migration; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Report/IClientRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Report/IClientRepository.cs index e295d27e8..4cb370597 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Report/IClientRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Report/IClientRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Report +namespace LearningHub.Nhs.Repository.Interface.Report { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Reporting; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Report/IReportRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Report/IReportRepository.cs index 0385af1a1..2ca153793 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Report/IReportRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Report/IReportRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Report +namespace LearningHub.Nhs.Repository.Interface.Report { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Reporting; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IArticleResourceVersionFileRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IArticleResourceVersionFileRepository.cs index 4ada6894a..af137a3e5 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IArticleResourceVersionFileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IArticleResourceVersionFileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IArticleResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IArticleResourceVersionRepository.cs index 9ac528f6d..18717a090 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IArticleResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IArticleResourceVersionRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IAssessmentResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IAssessmentResourceVersionRepository.cs index 638676a76..f498d4c83 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IAssessmentResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IAssessmentResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IAudioResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IAudioResourceVersionRepository.cs index dea6de430..3c2511cbb 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IAudioResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IAudioResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IBlockCollectionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IBlockCollectionRepository.cs index 9ff7f7490..0a1a52618 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IBlockCollectionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IBlockCollectionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/ICaseResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/ICaseResourceVersionRepository.cs index 7277d0aa8..404369be9 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/ICaseResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/ICaseResourceVersionRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IEmbeddedResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IEmbeddedResourceVersionRepository.cs index e7e41d65b..1d621331e 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IEmbeddedResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IEmbeddedResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IEquipmentResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IEquipmentResourceVersionRepository.cs index 89c8243ea..0b4b3efb3 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IEquipmentResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IEquipmentResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IExternalReferenceRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IExternalReferenceRepository.cs index 442cc0cbb..d2a94fe9d 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IExternalReferenceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IExternalReferenceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IExternalReferenceUserAgreementRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IExternalReferenceUserAgreementRepository.cs index 843981b0a..7242570d6 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IExternalReferenceUserAgreementRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IExternalReferenceUserAgreementRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using LearningHub.Nhs.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileChunkDetailRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileChunkDetailRepository.cs index 439acb663..ed8c61a8b 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileChunkDetailRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileChunkDetailRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileRepository.cs index f3fc68011..1a94f9d36 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileTypeRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileTypeRepository.cs index d3f29324e..20ebd3dbe 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileTypeRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IFileTypeRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IGenericFileResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IGenericFileResourceVersionRepository.cs index eae6cb203..666df5ac2 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IGenericFileResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IGenericFileResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IImageResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IImageResourceVersionRepository.cs index 5b9706d55..c1e835637 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IImageResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IImageResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IPartialFileRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IPartialFileRepository.cs index 5d8323fd7..759e3d26b 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IPartialFileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IPartialFileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IQuestionAnswerRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IQuestionAnswerRepository.cs index 2b36e320c..e5cfe0863 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IQuestionAnswerRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IQuestionAnswerRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Interface.Resources { using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IQuestionBlockRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IQuestionBlockRepository.cs index 8b7ddaf6d..bf9d88d86 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IQuestionBlockRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IQuestionBlockRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceAzureMediaAssetRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceAzureMediaAssetRepository.cs index a8a7b1c38..4fd6ece09 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceAzureMediaAssetRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceAzureMediaAssetRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceLicenceRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceLicenceRepository.cs index 291f62ec3..72f1f6b06 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceLicenceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceLicenceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceReferenceRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceReferenceRepository.cs index 0dd9b0724..188165883 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceReferenceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceReferenceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceRepository.cs index aaafe64b3..37effc073 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceSyncRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceSyncRepository.cs index 779583a9c..196da42bb 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceSyncRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceSyncRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionAuthorRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionAuthorRepository.cs index ae3303d31..29ceb66a9 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionAuthorRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionAuthorRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionEventRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionEventRepository.cs index 808c947e9..a2e7a38b3 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionEventRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionEventRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Linq; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionFlagRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionFlagRepository.cs index e7efcdc86..ed1703b9a 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionFlagRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionFlagRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionKeywordRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionKeywordRepository.cs index 31dab23f8..912c4f09b 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionKeywordRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionKeywordRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionProviderRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionProviderRepository.cs index cba4bb83a..93d572148 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionProviderRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionProviderRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRatingRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRatingRepository.cs index 918344da1..1022b0d24 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRatingRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRatingRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRatingSummaryRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRatingSummaryRepository.cs index 6e66a908d..03dcc2b90 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRatingSummaryRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRatingSummaryRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRepository.cs index 97fe75d93..364cd851b 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Interface.Resources { using System; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionUserAcceptanceRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionUserAcceptanceRepository.cs index 84a86d149..9ae27e22c 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionUserAcceptanceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionUserAcceptanceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionValidationResultRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionValidationResultRepository.cs index 46d2092a3..6917c39fa 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionValidationResultRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IResourceVersionValidationResultRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IScormResourceVersionManifestRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IScormResourceVersionManifestRepository.cs index 722ace427..a816db3d0 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IScormResourceVersionManifestRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IScormResourceVersionManifestRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IScormResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IScormResourceVersionRepository.cs index 3101300c0..0dfa086cf 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IScormResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IScormResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IUrlRewritingRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IUrlRewritingRepository.cs index 36aca0ffd..403bfa29a 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IUrlRewritingRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IUrlRewritingRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoFileRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoFileRepository.cs index d1a7d897e..ec4f04836 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoFileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoFileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoRepository.cs index 50dd78dc1..9b891b3d9 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource.Blocks; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoResourceVersionRepository.cs index 8e7595ced..a79db6cfa 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IVideoResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWebLinkResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWebLinkResourceVersionRepository.cs index 86e7ff567..dc077e997 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWebLinkResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWebLinkResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWholeSlideImageFileRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWholeSlideImageFileRepository.cs index 9047615ce..eb471d8aa 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWholeSlideImageFileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWholeSlideImageFileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWholeSlideImageRepository.cs b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWholeSlideImageRepository.cs index aba8825bc..b790063bf 100644 --- a/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWholeSlideImageRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository.Interface/Resources/IWholeSlideImageRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface.Resources +namespace LearningHub.Nhs.Repository.Interface.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource.Blocks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityInteractionAnswerRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityInteractionAnswerRepository.cs index 7dec04902..46eeae079 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityInteractionAnswerRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityInteractionAnswerRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Activity +namespace LearningHub.Nhs.Repository.Activity { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityInteractionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityInteractionRepository.cs index 0c6ea4daa..a7e3b064b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityInteractionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityInteractionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Activity +namespace LearningHub.Nhs.Repository.Activity { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityMatchQuestionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityMatchQuestionRepository.cs index ef03ba7b5..5ddb799e5 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityMatchQuestionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityMatchQuestionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Activity +namespace LearningHub.Nhs.Repository.Activity { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityRepository.cs index 4593fc55c..86545170d 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Activity/AssessmentResourceActivityRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Activity +namespace LearningHub.Nhs.Repository.Activity { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourceActivityInteractionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourceActivityInteractionRepository.cs index 40ec89aac..0e573a595 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourceActivityInteractionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourceActivityInteractionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Activity +namespace LearningHub.Nhs.Repository.Activity { using System; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourceActivityRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourceActivityRepository.cs index a02ad8793..6c7633b9a 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourceActivityRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourceActivityRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Activity +namespace LearningHub.Nhs.Repository.Activity { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourcePlayedSegmentRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourcePlayedSegmentRepository.cs index cb6d7159a..8672f49f0 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourcePlayedSegmentRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Activity/MediaResourcePlayedSegmentRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Activity +namespace LearningHub.Nhs.Repository.Activity { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Activity/NodeActivityRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Activity/NodeActivityRepository.cs index f0b632d44..284f5f9d6 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Activity/NodeActivityRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Activity/NodeActivityRepository.cs @@ -1,5 +1,5 @@ -// -// Copyright (c) HEE.nhs.uk. +// +// Copyright (c) NHS England. // namespace LearningHub.Nhs.Repository.Activity { diff --git a/WebAPI/LearningHub.Nhs.Repository/Activity/ResourceActivityRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Activity/ResourceActivityRepository.cs index ee130acd3..ffca996f4 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Activity/ResourceActivityRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Activity/ResourceActivityRepository.cs @@ -1,5 +1,5 @@ -// -// Copyright (c) HEE.nhs.uk. +// +// Copyright (c) NHS England. // namespace LearningHub.Nhs.Repository.Activity { diff --git a/WebAPI/LearningHub.Nhs.Repository/Activity/ScormActivityRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Activity/ScormActivityRepository.cs index a089b4d2d..6d9af606a 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Activity/ScormActivityRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Activity/ScormActivityRepository.cs @@ -1,5 +1,5 @@ -// -// Copyright (c) HEE.nhs.uk. +// +// Copyright (c) NHS England. // namespace LearningHub.Nhs.Repository.Activity { diff --git a/WebAPI/LearningHub.Nhs.Repository/Analytics/EventRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Analytics/EventRepository.cs index 331e78e0a..59644bcd3 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Analytics/EventRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Analytics/EventRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Analytics +namespace LearningHub.Nhs.Repository.Analytics { using System; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/BookmarkRepository.cs b/WebAPI/LearningHub.Nhs.Repository/BookmarkRepository.cs index eedfe6ba8..519ef237b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/BookmarkRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/BookmarkRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Content/PageRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Content/PageRepository.cs index f0369d727..13a658f45 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Content/PageRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Content/PageRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Content +namespace LearningHub.Nhs.Repository.Content { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Content/PageSectionDetailRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Content/PageSectionDetailRepository.cs index 8b80a3900..3a22b5335 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Content/PageSectionDetailRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Content/PageSectionDetailRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Content +namespace LearningHub.Nhs.Repository.Content { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Content/PageSectionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Content/PageSectionRepository.cs index 1d4d2dfac..18b31bb5b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Content/PageSectionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Content/PageSectionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Content +namespace LearningHub.Nhs.Repository.Content { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Content/VideoAssetRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Content/VideoAssetRepository.cs index 6235e9d95..cb099b624 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Content/VideoAssetRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Content/VideoAssetRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Content +namespace LearningHub.Nhs.Repository.Content { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Content; diff --git a/WebAPI/LearningHub.Nhs.Repository/DetectJsLogRepository.cs b/WebAPI/LearningHub.Nhs.Repository/DetectJsLogRepository.cs index 52ed88721..95ad48882 100644 --- a/WebAPI/LearningHub.Nhs.Repository/DetectJsLogRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/DetectJsLogRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository/EmailChangeValidationTokenRepository.cs b/WebAPI/LearningHub.Nhs.Repository/EmailChangeValidationTokenRepository.cs index 22818fd07..59c9d8ad0 100644 --- a/WebAPI/LearningHub.Nhs.Repository/EmailChangeValidationTokenRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/EmailChangeValidationTokenRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/EventLogRepository.cs b/WebAPI/LearningHub.Nhs.Repository/EventLogRepository.cs index 6e6ec661f..b60fc7099 100644 --- a/WebAPI/LearningHub.Nhs.Repository/EventLogRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/EventLogRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/ExternalReferenceUserAgreementRepository.cs b/WebAPI/LearningHub.Nhs.Repository/ExternalReferenceUserAgreementRepository.cs index 5cbd4c195..d6245f92f 100644 --- a/WebAPI/LearningHub.Nhs.Repository/ExternalReferenceUserAgreementRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/ExternalReferenceUserAgreementRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using LearningHub.Nhs.Entities.Resource; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/LearningHub.Nhs.Repository/GenericRepository.cs b/WebAPI/LearningHub.Nhs.Repository/GenericRepository.cs index 9289b2824..c53d94713 100644 --- a/WebAPI/LearningHub.Nhs.Repository/GenericRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/GenericRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Helpers/DateTimeHelper.cs b/WebAPI/LearningHub.Nhs.Repository/Helpers/DateTimeHelper.cs index a71ec246f..02c61cbfc 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Helpers/DateTimeHelper.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Helpers/DateTimeHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Helpers +namespace LearningHub.Nhs.Repository.Helpers { using System; diff --git a/WebAPI/LearningHub.Nhs.Repository/Helpers/TextHelper.cs b/WebAPI/LearningHub.Nhs.Repository/Helpers/TextHelper.cs index 3112a4a04..95aac852b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Helpers/TextHelper.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Helpers/TextHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Helpers +namespace LearningHub.Nhs.Repository.Helpers { /// /// The text helper. diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueAccessRequestRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueAccessRequestRepository.cs index f351dc2bb..46d0479ee 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueAccessRequestRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueAccessRequestRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using System; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionKeywordRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionKeywordRepository.cs index 2cd8c09b6..98081081e 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionKeywordRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionKeywordRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionProviderRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionProviderRepository.cs index c853d6a8f..8d81e52d4 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionProviderRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionProviderRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionRepository.cs index d81b9cbba..bc8feee2d 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/CatalogueNodeVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/FolderNodeVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/FolderNodeVersionRepository.cs index 5b2e8881a..4354ba5fc 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/FolderNodeVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/FolderNodeVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/HierarchyEditDetailRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/HierarchyEditDetailRepository.cs index e2fc5453c..4edc8435d 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/HierarchyEditDetailRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/HierarchyEditDetailRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Hierarchy; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/HierarchyEditRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/HierarchyEditRepository.cs index efdbe6130..9bc18dfff 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/HierarchyEditRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/HierarchyEditRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodePathRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodePathRepository.cs index 48bc8c3af..d7c6b2882 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodePathRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodePathRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using System.Collections.Generic; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeRepository.cs index 4eaf6fa1b..2e3177eca 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using System.Collections.Generic; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeResourceLookupRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeResourceLookupRepository.cs index 636e23543..60c464f20 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeResourceLookupRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeResourceLookupRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeResourceRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeResourceRepository.cs index ac42eda0a..91208ef44 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeResourceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeResourceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeVersionRepository.cs index 479f0fd71..60fd3c1b3 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/NodeVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/PublicationLogRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/PublicationLogRepository.cs index f709506b8..b768b5918 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/PublicationLogRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/PublicationLogRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/PublicationRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/PublicationRepository.cs index a1795ccdd..6abe8e7a3 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Hierarchy/PublicationRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Hierarchy/PublicationRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Hierarchy +namespace LearningHub.Nhs.Repository.Hierarchy { using System.Collections.Generic; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/LearningHub.Nhs.Repository.csproj b/WebAPI/LearningHub.Nhs.Repository/LearningHub.Nhs.Repository.csproj index e1327564c..b78eb079f 100644 --- a/WebAPI/LearningHub.Nhs.Repository/LearningHub.Nhs.Repository.csproj +++ b/WebAPI/LearningHub.Nhs.Repository/LearningHub.Nhs.Repository.csproj @@ -9,7 +9,7 @@ - + diff --git a/WebAPI/LearningHub.Nhs.Repository/LearningHubDbContext.cs b/WebAPI/LearningHub.Nhs.Repository/LearningHubDbContext.cs index cd32aa912..82d9903a3 100644 --- a/WebAPI/LearningHub.Nhs.Repository/LearningHubDbContext.cs +++ b/WebAPI/LearningHub.Nhs.Repository/LearningHubDbContext.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository { using LearningHub.Nhs.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/LearningHubDbContextOptions.cs b/WebAPI/LearningHub.Nhs.Repository/LearningHubDbContextOptions.cs index 5a1802f93..68c14e54a 100644 --- a/WebAPI/LearningHub.Nhs.Repository/LearningHubDbContextOptions.cs +++ b/WebAPI/LearningHub.Nhs.Repository/LearningHubDbContextOptions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Collections.Generic; using LearningHub.Nhs.Repository.Map; diff --git a/WebAPI/LearningHub.Nhs.Repository/LogRepository.cs b/WebAPI/LearningHub.Nhs.Repository/LogRepository.cs index d069274da..c8ff16041 100644 --- a/WebAPI/LearningHub.Nhs.Repository/LogRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/LogRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Maintenance/InternalSystemRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Maintenance/InternalSystemRepository.cs index 430fc4ad5..6d3704fbe 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Maintenance/InternalSystemRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Maintenance/InternalSystemRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Maintenance +namespace LearningHub.Nhs.Repository.Maintenance { using LearningHub.Nhs.Models.Entities.Maintenance; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityInteractionAnswerMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityInteractionAnswerMap.cs index 58a511f57..e806ee262 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityInteractionAnswerMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityInteractionAnswerMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityInteractionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityInteractionMap.cs index 99f5fff6d..1d9544462 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityInteractionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityInteractionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityMap.cs index cc19a28ac..d56168cbe 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityMatchQuestionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityMatchQuestionMap.cs index f5626582b..6de246968 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityMatchQuestionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/AssessmentResourceActivityMatchQuestionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourceActivityInteractionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourceActivityInteractionMap.cs index 629619ee7..9a7b99b49 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourceActivityInteractionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourceActivityInteractionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourceActivityMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourceActivityMap.cs index edaecf1d6..80474359b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourceActivityMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourceActivityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourcePlayedSegmentMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourcePlayedSegmentMap.cs index e286efe2c..8b10869e5 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourcePlayedSegmentMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/MediaResourcePlayedSegmentMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/NodeActivityMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/NodeActivityMap.cs index f10f3d015..fa11c2872 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/NodeActivityMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/NodeActivityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ResourceActivityMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ResourceActivityMap.cs index 4c6a2bd08..9aebd1a0e 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ResourceActivityMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ResourceActivityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionCorrectResponseMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionCorrectResponseMap.cs index 5808cf744..fcbcde7be 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionCorrectResponseMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionCorrectResponseMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionMap.cs index 0b04bc004..cf2722160 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionObjectiveMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionObjectiveMap.cs index 55c459783..bbc5f6049 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionObjectiveMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityInteractionObjectiveMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityMap.cs index 4a82514e3..c848c2101 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityObjectiveMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityObjectiveMap.cs index 7bfecf762..cb95b2a9c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityObjectiveMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Activity/ScormActivityObjectiveMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Activity +namespace LearningHub.Nhs.Repository.Map.Activity { using LearningHub.Nhs.Models.Entities.Activity; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/AddressMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/AddressMap.cs index 3fd86ff29..206a8f1b5 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/AddressMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/AddressMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Analytics/EventMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Analytics/EventMap.cs index 52f0afc4d..3b8612167 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Analytics/EventMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Analytics/EventMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities.Analytics; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/AttributeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/AttributeMap.cs index 12841cc3a..07d970410 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/AttributeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/AttributeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/BaseEntityMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/BaseEntityMap.cs index b84edfab7..1106e0e15 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/BaseEntityMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/BaseEntityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Content/ImageAssetMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Content/ImageAssetMap.cs index 79d125c02..cd7b9ad25 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Content/ImageAssetMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Content/ImageAssetMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Content +namespace LearningHub.Nhs.Repository.Map.Content { using LearningHub.Nhs.Models.Entities.Content; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageMap.cs index f5d6f4b6e..5ab9d847c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Content +namespace LearningHub.Nhs.Repository.Map.Content { using LearningHub.Nhs.Models.Entities.Content; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageSectionDetailMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageSectionDetailMap.cs index c7d9b2a66..0c7a967bc 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageSectionDetailMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageSectionDetailMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Content +namespace LearningHub.Nhs.Repository.Map.Content { using LearningHub.Nhs.Models.Entities.Content; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageSectionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageSectionMap.cs index 23bae6951..2f37f2eaf 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageSectionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Content/PageSectionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Content +namespace LearningHub.Nhs.Repository.Map.Content { using LearningHub.Nhs.Models.Entities.Content; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Content/VideoAssetMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Content/VideoAssetMap.cs index b7bee99cd..0d92dcd6b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Content/VideoAssetMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Content/VideoAssetMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Content +namespace LearningHub.Nhs.Repository.Map.Content { using LearningHub.Nhs.Models.Entities.Content; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/DetectJsLogMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/DetectJsLogMap.cs index 5a5f1a826..622c10ba8 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/DetectJsLogMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/DetectJsLogMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/EmailChangeValidationTokenMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/EmailChangeValidationTokenMap.cs index 9b3f99068..0accbb92c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/EmailChangeValidationTokenMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/EmailChangeValidationTokenMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using LearningHub.Nhs.Models.Entities; using LearningHub.Nhs.Repository.Map; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueAccessRequestMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueAccessRequestMap.cs index 5dbc22bd7..57b2bb48c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueAccessRequestMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueAccessRequestMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionKeywordMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionKeywordMap.cs index 46159afd3..35d3862f3 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionKeywordMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionKeywordMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionMap.cs index 05b97deeb..fcbe84a86 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionProviderMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionProviderMap.cs index 9c2f24ec8..d75d4afc1 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionProviderMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/CatalogueNodeVersionProviderMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/FolderNodeVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/FolderNodeVersionMap.cs index c98d34378..2a1f01ad2 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/FolderNodeVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/FolderNodeVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/HierarchyEditDetailMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/HierarchyEditDetailMap.cs index 5a725a741..64badfb66 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/HierarchyEditDetailMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/HierarchyEditDetailMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/HierarchyEditMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/HierarchyEditMap.cs index 9f02534f8..64b77b7d7 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/HierarchyEditMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/HierarchyEditMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeLinkMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeLinkMap.cs index 778ef7dcc..274eeda76 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeLinkMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeLinkMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeMap.cs index 1f7ebc43a..1baad27de 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathDisplayMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathDisplayMap.cs index ea1ed1b8e..5e66a82e4 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathDisplayMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathDisplayMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathMap.cs index 5dab6cb21..79c1456a8 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathNodeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathNodeMap.cs index b0b04b40b..1b5c8fd2b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathNodeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodePathNodeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeResourceLookupMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeResourceLookupMap.cs index 22d6dc449..0fef49e1e 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeResourceLookupMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeResourceLookupMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeResourceMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeResourceMap.cs index 37445ea41..0bb584d6f 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeResourceMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeResourceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeVersionMap.cs index 94b79b496..874a96c18 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/NodeVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/PublicationLogMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/PublicationLogMap.cs index b90b6681a..39c36edf4 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/PublicationLogMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/PublicationLogMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/PublicationMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/PublicationMap.cs index 6108c35b0..aff18f03f 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/PublicationMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Hierarchy/PublicationMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Hierarchy +namespace LearningHub.Nhs.Repository.Map.Hierarchy { using LearningHub.Nhs.Models.Entities.Hierarchy; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/IEntityTypeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/IEntityTypeMap.cs index bfe3cdfc4..f536917ec 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/IEntityTypeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/IEntityTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/LogMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/LogMap.cs index 33845b198..cf045abf2 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/LogMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/LogMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Maintenance/InternalSystemMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Maintenance/InternalSystemMap.cs index f77bcd7b8..e8bf0b058 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Maintenance/InternalSystemMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Maintenance/InternalSystemMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Content +namespace LearningHub.Nhs.Repository.Map.Content { using LearningHub.Nhs.Models.Entities.Maintenance; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/EmailTemplateLayoutMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/EmailTemplateLayoutMap.cs index 744935632..bc861f3e7 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/EmailTemplateLayoutMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/EmailTemplateLayoutMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Messaging +namespace LearningHub.Nhs.Repository.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/EmailTemplateMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/EmailTemplateMap.cs index ae2056514..817b428fc 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/EmailTemplateMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/EmailTemplateMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Messaging +namespace LearningHub.Nhs.Repository.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageMap.cs index 61f37c406..c6875431b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Messaging +namespace LearningHub.Nhs.Repository.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageMetaDataMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageMetaDataMap.cs index c77466c6a..f5dd0b508 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageMetaDataMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageMetaDataMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Messaging +namespace LearningHub.Nhs.Repository.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageSendMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageSendMap.cs index 6cfd7f843..9bbb3ddd2 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageSendMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageSendMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Messaging +namespace LearningHub.Nhs.Repository.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageSendRecipientMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageSendRecipientMap.cs index 10418b5eb..3b60b16c1 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageSendRecipientMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageSendRecipientMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Messaging +namespace LearningHub.Nhs.Repository.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageTypeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageTypeMap.cs index f8c5acd4e..93ca0d424 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageTypeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Messaging/MessageTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Messaging +namespace LearningHub.Nhs.Repository.Map.Messaging { using LearningHub.Nhs.Models.Entities.Messaging; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationInputRecordMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationInputRecordMap.cs index 2c2b19552..554f20eaf 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationInputRecordMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationInputRecordMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Migrations +namespace LearningHub.Nhs.Repository.Map.Migrations { using LearningHub.Nhs.Models.Entities.Migration; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationMap.cs index b6682a332..1c9bf5c44 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Migrations +namespace LearningHub.Nhs.Repository.Map.Migrations { using LearningHub.Nhs.Models.Entities.Migration; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationSourceMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationSourceMap.cs index 6c3633d40..47a296afa 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationSourceMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Migrations/MigrationSourceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Migrations +namespace LearningHub.Nhs.Repository.Map.Migrations { using LearningHub.Nhs.Models.Entities.Migration; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/NotificationMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/NotificationMap.cs index 6b184d86e..4a675c159 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/NotificationMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/NotificationMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/NotificationPriorityMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/NotificationPriorityMap.cs index 02d2bc596..e37c6a7e9 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/NotificationPriorityMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/NotificationPriorityMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/NotificationTemplateMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/NotificationTemplateMap.cs index 3ef82e84f..f14347b3c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/NotificationTemplateMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/NotificationTemplateMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/NotificationTypeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/NotificationTypeMap.cs index 2d7be6b7c..7e1207273 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/NotificationTypeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/NotificationTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/PermissionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/PermissionMap.cs index 73b846508..282cbc9b9 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/PermissionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/PermissionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/PermissionRoleMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/PermissionRoleMap.cs index 289febf2a..fd7b247f6 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/PermissionRoleMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/PermissionRoleMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/ProviderMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/ProviderMap.cs index 7456ef1b7..ab2a24426 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/ProviderMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/ProviderMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ClientMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ClientMap.cs index 81ee24065..7ffbd3492 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ClientMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ClientMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Report +namespace LearningHub.Nhs.Repository.Map.Report { using LearningHub.Nhs.Models.Entities.Reporting; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportMap.cs index b74d38711..c80c854b9 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Report +namespace LearningHub.Nhs.Repository.Map.Report { using LearningHub.Nhs.Models.Entities.Reporting; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportOrientationModeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportOrientationModeMap.cs index 5d190cc57..0fbce454b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportOrientationModeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportOrientationModeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Report +namespace LearningHub.Nhs.Repository.Map.Report { using LearningHub.Nhs.Models.Entities.Reporting; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportPageMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportPageMap.cs index 7dd154a09..5e5c7e163 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportPageMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportPageMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Report +namespace LearningHub.Nhs.Repository.Map.Report { using LearningHub.Nhs.Models.Entities.Reporting; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportStatusMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportStatusMap.cs index c9c209849..369b98489 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportStatusMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportStatusMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Report +namespace LearningHub.Nhs.Repository.Map.Report { using LearningHub.Nhs.Models.Entities.Reporting; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportTypeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportTypeMap.cs index e61d88e53..40b7b0812 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportTypeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Report/ReportTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Report +namespace LearningHub.Nhs.Repository.Map.Report { using LearningHub.Nhs.Models.Entities.Reporting; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ArticleResourceVersionFileMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ArticleResourceVersionFileMap.cs index 4aead51ad..aeae61c75 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ArticleResourceVersionFileMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ArticleResourceVersionFileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ArticleResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ArticleResourceVersionMap.cs index 20ef67808..9d0e3f343 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ArticleResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ArticleResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/AssessmentResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/AssessmentResourceVersionMap.cs index a188cc069..d65557085 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/AssessmentResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/AssessmentResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/AudioResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/AudioResourceVersionMap.cs index 697613eff..682171d7c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/AudioResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/AudioResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/AttachmentMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/AttachmentMap.cs index 117a794ac..ea4a0fb2b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/AttachmentMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/AttachmentMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/BlockCollectionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/BlockCollectionMap.cs index 4136d7341..3ff9aced3 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/BlockCollectionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/BlockCollectionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/BlockMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/BlockMap.cs index d1568b966..c497b9b18 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/BlockMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/BlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageAnnotationMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageAnnotationMap.cs index c9c66a94b..75945c642 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageAnnotationMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageAnnotationMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageAnnotationMarkMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageAnnotationMarkMap.cs index dd3d1eac3..e031ecc1a 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageAnnotationMarkMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageAnnotationMarkMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageCarouselBlockMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageCarouselBlockMap.cs index 3b2089f5f..297506dc9 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageCarouselBlockMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageCarouselBlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageMap.cs index f2547d95b..8e98a01a4 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/ImageMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/MediaBlockMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/MediaBlockMap.cs index c51b607e4..b72a018cf 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/MediaBlockMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/MediaBlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/QuestionBlockMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/QuestionBlockMap.cs index f5b915277..c15965e25 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/QuestionBlockMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/QuestionBlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/TextBlockMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/TextBlockMap.cs index 8d1b925f2..90f56b6df 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/TextBlockMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/TextBlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/VideoMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/VideoMap.cs index af8f9fde2..5fce27e97 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/VideoMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/VideoMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageBlockItemMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageBlockItemMap.cs index 9e322cff6..50e0b6603 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageBlockItemMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageBlockItemMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageBlockMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageBlockMap.cs index 86e5fc129..a2595ed7c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageBlockMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageBlockMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageMap.cs index 11c959525..651dc641d 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/Blocks/WholeSlideImageMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource.Blocks; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/CaseResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/CaseResourceVersionMap.cs index 48c00761b..47b80d72f 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/CaseResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/CaseResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/EmbeddedResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/EmbeddedResourceVersionMap.cs index e80ca4a89..ac8e1e84e 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/EmbeddedResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/EmbeddedResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/EquipmentResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/EquipmentResourceVersionMap.cs index de57bcc28..c39e08c34 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/EquipmentResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/EquipmentResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ExternalReferenceMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ExternalReferenceMap.cs index 414a7c2c3..0ade3c797 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ExternalReferenceMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ExternalReferenceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ExternalReferenceUserAgreementMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ExternalReferenceUserAgreementMap.cs index 9913184db..130739f13 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ExternalReferenceUserAgreementMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ExternalReferenceUserAgreementMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileChunkDetailMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileChunkDetailMap.cs index 82f95859c..b870877ee 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileChunkDetailMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileChunkDetailMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileMap.cs index 4b94ad861..1335f3483 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileTypeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileTypeMap.cs index e603e2047..a25eab809 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileTypeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/FileTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/GenericFileResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/GenericFileResourceVersionMap.cs index 5e2e9c88a..b52e351be 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/GenericFileResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/GenericFileResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ImageResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ImageResourceVersionMap.cs index 2d0b5c416..0b7cd982c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ImageResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ImageResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/PartialFileMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/PartialFileMap.cs index e46c6d018..858d6c72b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/PartialFileMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/PartialFileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/QuestionAnswerMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/QuestionAnswerMap.cs index 91f3430c1..a0a28ab82 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/QuestionAnswerMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/QuestionAnswerMap.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceAzureMediaAssetMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceAzureMediaAssetMap.cs index e71e7dcdf..2e4036e24 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceAzureMediaAssetMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceAzureMediaAssetMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceLicenceMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceLicenceMap.cs index 13c9e737b..12d560558 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceLicenceMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceLicenceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceMap.cs index 3315c7ab4..63ef24285 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceReferenceMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceReferenceMap.cs index 58c92c20a..5439bb02a 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceReferenceMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceReferenceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceSyncMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceSyncMap.cs index fa32a2253..056f0b610 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceSyncMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceSyncMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionAuthorMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionAuthorMap.cs index 6e50b44b1..97529286f 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionAuthorMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionAuthorMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionEventMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionEventMap.cs index e7916f715..00db2c363 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionEventMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionEventMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionFlagMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionFlagMap.cs index cfdd6453e..4766dd973 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionFlagMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionFlagMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionKeywordMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionKeywordMap.cs index 089207a59..09a29976b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionKeywordMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionKeywordMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionMap.cs index c526bf36e..479dedb82 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionProviderMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionProviderMap.cs index 7814cb514..124aa804a 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionProviderMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionProviderMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionRatingMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionRatingMap.cs index 60ae51c69..35c0cdc8e 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionRatingMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionRatingMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionRatingSummaryMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionRatingSummaryMap.cs index 10c89f27e..11475bec9 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionRatingSummaryMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionRatingSummaryMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionUserAcceptanceMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionUserAcceptanceMap.cs index e8b7ecf0f..49848f2e0 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionUserAcceptanceMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionUserAcceptanceMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionValidationResultMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionValidationResultMap.cs index 74d26a3fa..7f35f7df6 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionValidationResultMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionValidationResultMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionValidationRuleResultMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionValidationRuleResultMap.cs index d69be7a17..fbfbdf024 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionValidationRuleResultMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ResourceVersionValidationRuleResultMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ScormResourceVersionManifestMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ScormResourceVersionManifestMap.cs index ec3f5bb1a..b62734a38 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ScormResourceVersionManifestMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ScormResourceVersionManifestMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ScormResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ScormResourceVersionMap.cs index 9c2935037..425871555 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ScormResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/ScormResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/UrlRewritingMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/UrlRewritingMap.cs index 6f2422364..aee624ed9 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/UrlRewritingMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/UrlRewritingMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/VideoFileMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/VideoFileMap.cs index b882baf64..c5ed8156b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/VideoFileMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/VideoFileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/VideoResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/VideoResourceVersionMap.cs index c25e558b7..90af20ad5 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/VideoResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/VideoResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/WebLinkResourceVersionMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/WebLinkResourceVersionMap.cs index e4cfb7e6e..34e22f384 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/WebLinkResourceVersionMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/WebLinkResourceVersionMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/WholeSlideImageFileMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/WholeSlideImageFileMap.cs index 04bc23f5a..890c06302 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/Resources/WholeSlideImageFileMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/Resources/WholeSlideImageFileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map.Resources +namespace LearningHub.Nhs.Repository.Map.Resources { using LearningHub.Nhs.Models.Entities.Resource; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/RoadmapMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/RoadmapMap.cs index f803a2c5f..e071ad8eb 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/RoadmapMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/RoadmapMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/RoadmapTypeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/RoadmapTypeMap.cs index f46b4c4a9..9639bcd47 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/RoadmapTypeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/RoadmapTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/RoleMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/RoleMap.cs index f9a2d1db5..c62faa6a2 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/RoleMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/RoleMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/RoleUserGroupMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/RoleUserGroupMap.cs index e0e0bcf23..1ba8265c1 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/RoleUserGroupMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/RoleUserGroupMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/ScopeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/ScopeMap.cs index 99dc2fe95..dd568b1fc 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/ScopeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/ScopeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/UserBookmarkMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/UserBookmarkMap.cs index 2f063b0b2..af66e4d47 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/UserBookmarkMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/UserBookmarkMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/UserDetailsMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/UserDetailsMap.cs index a898584bb..3b0e11ca5 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/UserDetailsMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/UserDetailsMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/UserGroupAttributeMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/UserGroupAttributeMap.cs index 7bfcfd235..486e26431 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/UserGroupAttributeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/UserGroupAttributeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/UserGroupMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/UserGroupMap.cs index 935a5f236..1da0d5618 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/UserGroupMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/UserGroupMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/UserMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/UserMap.cs index 9bb6a4b5d..0d7f72a86 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/UserMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/UserMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/UserNotificationMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/UserNotificationMap.cs index eeab32535..4dc931fc8 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/UserNotificationMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/UserNotificationMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/UserProfileMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/UserProfileMap.cs index 02f4139fd..990ff62d5 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/UserProfileMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/UserProfileMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/UserProviderMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/UserProviderMap.cs index 9dbd7ad37..65d6646bb 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/UserProviderMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/UserProviderMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Map/UserUserGroupMap.cs b/WebAPI/LearningHub.Nhs.Repository/Map/UserUserGroupMap.cs index 2323ec11d..279e7b425 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Map/UserUserGroupMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Map/UserUserGroupMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Map +namespace LearningHub.Nhs.Repository.Map { using LearningHub.Nhs.Models.Entities; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/Messaging/EmailTemplateRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Messaging/EmailTemplateRepository.cs index 4cc472a3e..62f0f0cca 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Messaging/EmailTemplateRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Messaging/EmailTemplateRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Messaging +namespace LearningHub.Nhs.Repository.Messaging { using System.Linq; using LearningHub.Nhs.Models.Entities.Messaging; diff --git a/WebAPI/LearningHub.Nhs.Repository/Messaging/MessageRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Messaging/MessageRepository.cs index 9d3ac43a0..cbaf5dca7 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Messaging/MessageRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Messaging/MessageRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Messaging +namespace LearningHub.Nhs.Repository.Messaging { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationInputRecordRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationInputRecordRepository.cs index bc0a786d7..f06d27e58 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationInputRecordRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationInputRecordRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Migrations +namespace LearningHub.Nhs.Repository.Migrations { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationRepository.cs index 22ecc9017..bf846b2fd 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Migrations +namespace LearningHub.Nhs.Repository.Migrations { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationSourceRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationSourceRepository.cs index 4fefd2652..6af5126c2 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationSourceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Migrations/MigrationSourceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Migrations +namespace LearningHub.Nhs.Repository.Migrations { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Migration; diff --git a/WebAPI/LearningHub.Nhs.Repository/MultipleResultSets.cs b/WebAPI/LearningHub.Nhs.Repository/MultipleResultSets.cs index 9a396aefc..4718fa42d 100644 --- a/WebAPI/LearningHub.Nhs.Repository/MultipleResultSets.cs +++ b/WebAPI/LearningHub.Nhs.Repository/MultipleResultSets.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System; using System.Collections; diff --git a/WebAPI/LearningHub.Nhs.Repository/NLogDbContext.cs b/WebAPI/LearningHub.Nhs.Repository/NLogDbContext.cs index 090005852..3b80e3683 100644 --- a/WebAPI/LearningHub.Nhs.Repository/NLogDbContext.cs +++ b/WebAPI/LearningHub.Nhs.Repository/NLogDbContext.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository { using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository/NLogDbContextOptions.cs b/WebAPI/LearningHub.Nhs.Repository/NLogDbContextOptions.cs index 3af153368..f722f07f2 100644 --- a/WebAPI/LearningHub.Nhs.Repository/NLogDbContextOptions.cs +++ b/WebAPI/LearningHub.Nhs.Repository/NLogDbContextOptions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Collections.Generic; using LearningHub.Nhs.Repository.Map; diff --git a/WebAPI/LearningHub.Nhs.Repository/NLogMap/IEntityTypeMap.cs b/WebAPI/LearningHub.Nhs.Repository/NLogMap/IEntityTypeMap.cs index e463064c5..667cfbcd2 100644 --- a/WebAPI/LearningHub.Nhs.Repository/NLogMap/IEntityTypeMap.cs +++ b/WebAPI/LearningHub.Nhs.Repository/NLogMap/IEntityTypeMap.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.NLogMap +namespace LearningHub.Nhs.Repository.NLogMap { using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/LearningHub.Nhs.Repository/NotificationRepository.cs b/WebAPI/LearningHub.Nhs.Repository/NotificationRepository.cs index 13c96b686..65f952d97 100644 --- a/WebAPI/LearningHub.Nhs.Repository/NotificationRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/NotificationRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/NotificationTemplateRepository.cs b/WebAPI/LearningHub.Nhs.Repository/NotificationTemplateRepository.cs index 21abbebc1..9f2d6ebde 100644 --- a/WebAPI/LearningHub.Nhs.Repository/NotificationTemplateRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/NotificationTemplateRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Linq; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository/PermissionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/PermissionRepository.cs index 436a75ef0..1d7304ca2 100644 --- a/WebAPI/LearningHub.Nhs.Repository/PermissionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/PermissionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Collections.Generic; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/ProviderRepository.cs b/WebAPI/LearningHub.Nhs.Repository/ProviderRepository.cs index 453f933ed..f6322bde0 100644 --- a/WebAPI/LearningHub.Nhs.Repository/ProviderRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/ProviderRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Data; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Report/ClientRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Report/ClientRepository.cs index e78160fa2..d9e7af8c3 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Report/ClientRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Report/ClientRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Report +namespace LearningHub.Nhs.Repository.Report { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Report/ReportRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Report/ReportRepository.cs index cb4d49bd6..37156245b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Report/ReportRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Report/ReportRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Report +namespace LearningHub.Nhs.Repository.Report { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ArticleResourceVersionFileRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ArticleResourceVersionFileRepository.cs index ae2cf10f8..d1c29f148 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ArticleResourceVersionFileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ArticleResourceVersionFileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ArticleResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ArticleResourceVersionRepository.cs index fda013aa7..9809cc3a8 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ArticleResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ArticleResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/AssessmentResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/AssessmentResourceVersionRepository.cs index 04f681900..4e881bb94 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/AssessmentResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/AssessmentResourceVersionRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/AudioResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/AudioResourceVersionRepository.cs index 8ed123454..75e1fc7be 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/AudioResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/AudioResourceVersionRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/BlockCollectionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/BlockCollectionRepository.cs index 6e989bca4..be2bc4f98 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/BlockCollectionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/BlockCollectionRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using System; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/CaseResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/CaseResourceVersionRepository.cs index 1760519c4..17dc4a201 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/CaseResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/CaseResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/EmbeddedResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/EmbeddedResourceVersionRepository.cs index 37c972adc..a8c77906f 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/EmbeddedResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/EmbeddedResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/EquipmentResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/EquipmentResourceVersionRepository.cs index 7f2508ae5..9c7257612 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/EquipmentResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/EquipmentResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ExternalReferenceRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ExternalReferenceRepository.cs index b19fca6fc..6c3aec4f3 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ExternalReferenceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ExternalReferenceRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/FileChunkDetailRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/FileChunkDetailRepository.cs index 4634c3ac9..df6d3fe2d 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/FileChunkDetailRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/FileChunkDetailRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/FileRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/FileRepository.cs index cee6c15b1..4f1e1d753 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/FileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/FileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/FileTypeRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/FileTypeRepository.cs index f8734e60f..e4f8dae73 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/FileTypeRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/FileTypeRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/GenericFileResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/GenericFileResourceVersionRepository.cs index bb57ecf8d..43f9932ab 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/GenericFileResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/GenericFileResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Data; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ImageResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ImageResourceVersionRepository.cs index 1ec2eac03..b5b93a393 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ImageResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ImageResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/PartialFileRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/PartialFileRepository.cs index 4a1903ab5..33ec37b48 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/PartialFileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/PartialFileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/QuestionAnswerRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/QuestionAnswerRepository.cs index b38501486..c61dbccb5 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/QuestionAnswerRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/QuestionAnswerRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/QuestionBlockRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/QuestionBlockRepository.cs index 98eaab89b..f3cee6c50 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/QuestionBlockRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/QuestionBlockRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceAzureMediaAssetRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceAzureMediaAssetRepository.cs index c857dcc08..2e097677b 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceAzureMediaAssetRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceAzureMediaAssetRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceLicenceRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceLicenceRepository.cs index a10fad438..68a42fabd 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceLicenceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceLicenceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceReferenceEventRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceReferenceEventRepository.cs index 256e855ca..48a729524 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceReferenceEventRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceReferenceEventRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using LearningHub.Nhs.Models.Entities.Resource; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceReferenceRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceReferenceRepository.cs index f940731b0..b84debd94 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceReferenceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceReferenceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceRepository.cs index aee7ed534..470dacd5c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceSyncRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceSyncRepository.cs index 88dfa62c9..0a6e93b60 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceSyncRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceSyncRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionAuthorRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionAuthorRepository.cs index 28e3930b8..2ed2c5a42 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionAuthorRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionAuthorRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionEventRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionEventRepository.cs index 54cc1759b..7123cfe93 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionEventRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionEventRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionFlagRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionFlagRepository.cs index d4acae0fe..2e3001891 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionFlagRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionFlagRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionKeywordRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionKeywordRepository.cs index b487457d0..4f459f228 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionKeywordRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionKeywordRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using System; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionProviderRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionProviderRepository.cs index 9e55fd823..fea2d10e9 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionProviderRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionProviderRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRatingRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRatingRepository.cs index 6f5219e1a..0dc1ffbcc 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRatingRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRatingRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRatingSummaryRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRatingSummaryRepository.cs index 8b6dda2c6..862b440a0 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRatingSummaryRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRatingSummaryRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRepository.cs index f06e8c572..cd9860a9f 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionUserAcceptanceRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionUserAcceptanceRepository.cs index 4928afd62..bcd076357 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionUserAcceptanceRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionUserAcceptanceRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using LearningHub.Nhs.Models.Entities.Resource; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionValidationResultRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionValidationResultRepository.cs index 27a1d4fc8..57770e76c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionValidationResultRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ResourceVersionValidationResultRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ScormResourceVersionManifestRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ScormResourceVersionManifestRepository.cs index 931f44a9a..502ddb9f9 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ScormResourceVersionManifestRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ScormResourceVersionManifestRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/ScormResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/ScormResourceVersionRepository.cs index 55db8fa1b..adb80296a 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/ScormResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/ScormResourceVersionRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/UrlRewritingRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/UrlRewritingRepository.cs index a0077584a..7e734f8f9 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/UrlRewritingRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/UrlRewritingRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Linq; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/VideoFileRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/VideoFileRepository.cs index 51980c98a..7e3556577 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/VideoFileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/VideoFileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/VideoRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/VideoRepository.cs index 8a07a0bca..d354d5b21 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/VideoRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/VideoRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource.Blocks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/VideoResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/VideoResourceVersionRepository.cs index 1df198128..9763edf07 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/VideoResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/VideoResourceVersionRepository.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/WebLinkResourceVersionRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/WebLinkResourceVersionRepository.cs index d9d33afe7..13e043934 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/WebLinkResourceVersionRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/WebLinkResourceVersionRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/WholeSlideImageFileRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/WholeSlideImageFileRepository.cs index 28e165cef..eb304f79c 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/WholeSlideImageFileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/WholeSlideImageFileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Repository/Resources/WholeSlideImageRepository.cs b/WebAPI/LearningHub.Nhs.Repository/Resources/WholeSlideImageRepository.cs index 577675412..af16133fc 100644 --- a/WebAPI/LearningHub.Nhs.Repository/Resources/WholeSlideImageRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/Resources/WholeSlideImageRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Resources +namespace LearningHub.Nhs.Repository.Resources { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource.Blocks; diff --git a/WebAPI/LearningHub.Nhs.Repository/RoadmapRepository.cs b/WebAPI/LearningHub.Nhs.Repository/RoadmapRepository.cs index 1c8972763..ba057a106 100644 --- a/WebAPI/LearningHub.Nhs.Repository/RoadmapRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/RoadmapRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/RoleRepository.cs b/WebAPI/LearningHub.Nhs.Repository/RoleRepository.cs index 08053b3f0..08df5b863 100644 --- a/WebAPI/LearningHub.Nhs.Repository/RoleRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/RoleRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Repository/RoleUserGroupRepository.cs b/WebAPI/LearningHub.Nhs.Repository/RoleUserGroupRepository.cs index 202929af5..7579f5a57 100644 --- a/WebAPI/LearningHub.Nhs.Repository/RoleUserGroupRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/RoleUserGroupRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Collections.Generic; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/ScopeRepository.cs b/WebAPI/LearningHub.Nhs.Repository/ScopeRepository.cs index fc2cf6134..160bfe773 100644 --- a/WebAPI/LearningHub.Nhs.Repository/ScopeRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/ScopeRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository/TimezoneOffsetManager.cs b/WebAPI/LearningHub.Nhs.Repository/TimezoneOffsetManager.cs index 1d8a296ea..f7eed5de3 100644 --- a/WebAPI/LearningHub.Nhs.Repository/TimezoneOffsetManager.cs +++ b/WebAPI/LearningHub.Nhs.Repository/TimezoneOffsetManager.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository.Interface +namespace LearningHub.Nhs.Repository.Interface { using System; using Microsoft.AspNetCore.Http; diff --git a/WebAPI/LearningHub.Nhs.Repository/TransactionManager.cs b/WebAPI/LearningHub.Nhs.Repository/TransactionManager.cs index cd20e6223..349a5ab24 100644 --- a/WebAPI/LearningHub.Nhs.Repository/TransactionManager.cs +++ b/WebAPI/LearningHub.Nhs.Repository/TransactionManager.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using LearningHub.Nhs.Repository.Interface; using Microsoft.EntityFrameworkCore.Storage; diff --git a/WebAPI/LearningHub.Nhs.Repository/UserGroupAttributeRepository.cs b/WebAPI/LearningHub.Nhs.Repository/UserGroupAttributeRepository.cs index cd6070d23..86b2cc452 100644 --- a/WebAPI/LearningHub.Nhs.Repository/UserGroupAttributeRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/UserGroupAttributeRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/UserGroupRepository.cs b/WebAPI/LearningHub.Nhs.Repository/UserGroupRepository.cs index 9a89c8699..22dc9fd94 100644 --- a/WebAPI/LearningHub.Nhs.Repository/UserGroupRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/UserGroupRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/UserNotificationRepository.cs b/WebAPI/LearningHub.Nhs.Repository/UserNotificationRepository.cs index e6a000dbb..b05177124 100644 --- a/WebAPI/LearningHub.Nhs.Repository/UserNotificationRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/UserNotificationRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Repository/UserProfileRepository.cs b/WebAPI/LearningHub.Nhs.Repository/UserProfileRepository.cs index d29e718e7..9b0ce4df2 100644 --- a/WebAPI/LearningHub.Nhs.Repository/UserProfileRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/UserProfileRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Repository/UserProviderRepository.cs b/WebAPI/LearningHub.Nhs.Repository/UserProviderRepository.cs index 9566f629b..9dacef781 100644 --- a/WebAPI/LearningHub.Nhs.Repository/UserProviderRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/UserProviderRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Collections.Generic; using System.Data; diff --git a/WebAPI/LearningHub.Nhs.Repository/UserRepository.cs b/WebAPI/LearningHub.Nhs.Repository/UserRepository.cs index b566f86bc..6a30775dc 100644 --- a/WebAPI/LearningHub.Nhs.Repository/UserRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/UserRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Repository/UserUserGroupRepository.cs b/WebAPI/LearningHub.Nhs.Repository/UserUserGroupRepository.cs index 52e637158..24bdf2b49 100644 --- a/WebAPI/LearningHub.Nhs.Repository/UserUserGroupRepository.cs +++ b/WebAPI/LearningHub.Nhs.Repository/UserUserGroupRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Repository +namespace LearningHub.Nhs.Repository { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IActivityService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IActivityService.cs index 9a3c18d67..5cbeb453d 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IActivityService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IActivityService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IAzureBlobService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IAzureBlobService.cs index 29b89b4d3..850eee1c7 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IAzureBlobService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IAzureBlobService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IAzureDataFactoryService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IAzureDataFactoryService.cs index f12d6f007..f10fc26e6 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IAzureDataFactoryService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IAzureDataFactoryService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IAzureMediaService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IAzureMediaService.cs index 39cba15fa..36f5b9471 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IAzureMediaService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IAzureMediaService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IBookmarkService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IBookmarkService.cs index 70c0b2af0..189217811 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IBookmarkService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IBookmarkService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/ICachingService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/ICachingService.cs index 27d3035ef..d20dc1d5f 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/ICachingService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/ICachingService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Caching; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/ICatalogueService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/ICatalogueService.cs index 1d1f11126..283ea7ae9 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/ICatalogueService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/ICatalogueService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IDashboardService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IDashboardService.cs index 71dc95a96..6b50a2ba0 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IDashboardService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IDashboardService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Dashboard; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IDetectJsLogService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IDetectJsLogService.cs index f470f06f1..4a56fc668 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IDetectJsLogService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IDetectJsLogService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IEventLogService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IEventLogService.cs index 797162c51..3037cac1d 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IEventLogService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IEventLogService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using LearningHub.Nhs.Models.EventLog; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IEventService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IEventService.cs index d07c255a9..ee9c193b4 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IEventService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IEventService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Analytics; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IFileTypeService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IFileTypeService.cs index fb02983bb..c0788a452 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IFileTypeService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IFileTypeService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IFindWiseHttpClient.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IFindWiseHttpClient.cs index 3ddc8fa99..74cc6f31f 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IFindWiseHttpClient.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IFindWiseHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Net.Http; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IFindwiseApiFacade.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IFindwiseApiFacade.cs index 6c3e28dd4..4e50ff92b 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IFindwiseApiFacade.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IFindwiseApiFacade.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IHierarchyService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IHierarchyService.cs index 3628b92e0..5cf2a1d15 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IHierarchyService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IHierarchyService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IInternalSystemService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IInternalSystemService.cs index 91c41aca5..2da32215a 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IInternalSystemService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IInternalSystemService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/ILogService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/ILogService.cs index 78fa838f4..da351ce5a 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/ILogService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/ILogService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IMigrationService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IMigrationService.cs index 9263212b7..7940ef55b 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IMigrationService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IMigrationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IMyLearningService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IMyLearningService.cs index f071ea814..8281c84d6 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IMyLearningService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IMyLearningService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/INotificationService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/INotificationService.cs index 7e1f0b60f..2bb991275 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/INotificationService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/INotificationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/INotificationTemplateService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/INotificationTemplateService.cs index 8bbfa0d8a..f03d42bab 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/INotificationTemplateService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/INotificationTemplateService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IPageService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IPageService.cs index 0f81e1d18..46ace3b0f 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IPageService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IPageService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Content; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IPartialFileService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IPartialFileService.cs index 1e6968ef7..327ad4cd5 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IPartialFileService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IPartialFileService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IPermissionService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IPermissionService.cs index 9830c232a..37dcd8dd5 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IPermissionService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IPermissionService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IProviderService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IProviderService.cs index c605eaed4..099c672ab 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IProviderService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IProviderService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IQueueCommunicatorService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IQueueCommunicatorService.cs index 300e6c1cd..bd6e2a5df 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IQueueCommunicatorService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IQueueCommunicatorService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IRatingService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IRatingService.cs index 7c9952e17..b9c6dafbf 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IRatingService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IRatingService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IResourceReferenceService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IResourceReferenceService.cs index ed4f556cd..c3aace16f 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IResourceReferenceService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IResourceReferenceService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IResourceService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IResourceService.cs index 0956eda22..dae7e1390 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IResourceService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IResourceService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IResourceSyncService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IResourceSyncService.cs index c4c359972..6f19f5332 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IResourceSyncService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IResourceSyncService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IRoadmapService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IRoadmapService.cs index 30199be5e..26330690f 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IRoadmapService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IRoadmapService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IRoleService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IRoleService.cs index 158aee5e5..b18c85fd4 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IRoleService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IRoleService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IScormContentServerService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IScormContentServerService.cs index c91523c21..9bc5ffe50 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IScormContentServerService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IScormContentServerService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/ISearchService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/ISearchService.cs index 4e51f284a..ef44e5076 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/ISearchService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/ISearchService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Search; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/ISecurityService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/ISecurityService.cs index 9712695eb..4e4c18641 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/ISecurityService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/ISecurityService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using elfhHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IUserGroupService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IUserGroupService.cs index 236c18cfc..338238c4c 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IUserGroupService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IUserGroupService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IUserLearningRecordService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IUserLearningRecordService.cs index ed512fad0..d67b61d59 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IUserLearningRecordService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IUserLearningRecordService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IUserNotificationService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IUserNotificationService.cs index 0b4dc8fd4..5626474cd 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IUserNotificationService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IUserNotificationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Common; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IUserProfileService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IUserProfileService.cs index a1b6d190d..b5eb90605 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IUserProfileService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IUserProfileService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IUserProviderService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IUserProviderService.cs index 993b3bd44..8b6f1469a 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IUserProviderService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IUserProviderService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/IUserService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/IUserService.cs index 2a5ede2e1..7f4d821cf 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/IUserService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/IUserService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/LearningHub.Nhs.Services.Interface.csproj b/WebAPI/LearningHub.Nhs.Services.Interface/LearningHub.Nhs.Services.Interface.csproj index 5b31e41c3..43fcaa997 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/LearningHub.Nhs.Services.Interface.csproj +++ b/WebAPI/LearningHub.Nhs.Services.Interface/LearningHub.Nhs.Services.Interface.csproj @@ -16,7 +16,7 @@ - + all diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IEmailSenderService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IEmailSenderService.cs index 1c698e2f3..179daed8a 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IEmailSenderService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IEmailSenderService.cs @@ -1,5 +1,5 @@ -// -// Copyright (c) HEE.nhs.uk. +// +// Copyright (c) NHS England. // namespace LearningHub.Nhs.Services.Interface.Messaging diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IEmailTemplateService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IEmailTemplateService.cs index d2c624446..99013e9ca 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IEmailTemplateService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IEmailTemplateService.cs @@ -1,5 +1,5 @@ -// -// Copyright (c) HEE.nhs.uk. +// +// Copyright (c) NHS England. // namespace LearningHub.Nhs.Services.Interface.Messaging diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IMessageService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IMessageService.cs index b91b4ec64..767d8619e 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IMessageService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/IMessageService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface.Messaging +namespace LearningHub.Nhs.Services.Interface.Messaging { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/INotificationSenderService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/INotificationSenderService.cs index 755921bf5..1362a625d 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/INotificationSenderService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/Messaging/INotificationSenderService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface.Messaging +namespace LearningHub.Nhs.Services.Interface.Messaging { using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.Interface/Report/IReportService.cs b/WebAPI/LearningHub.Nhs.Services.Interface/Report/IReportService.cs index 2c1ff0754..7c24ca2a0 100644 --- a/WebAPI/LearningHub.Nhs.Services.Interface/Report/IReportService.cs +++ b/WebAPI/LearningHub.Nhs.Services.Interface/Report/IReportService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface.Report +namespace LearningHub.Nhs.Services.Interface.Report { using System; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/ActivityServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/ActivityServiceTests.cs index c1d961003..10a8fd5e4 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/ActivityServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/ActivityServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/AnswerSubmissionValidationHelperTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/AnswerSubmissionValidationHelperTests.cs index 68d3b0079..99f28bfa7 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/AnswerSubmissionValidationHelperTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/AnswerSubmissionValidationHelperTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System.Collections.Generic; using LearningHub.Nhs.Models.Enums; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/BlockBuilder.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/BlockBuilder.cs index 5ce2fb30a..b841a1bd9 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/BlockBuilder.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/BlockBuilder.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests.Builders +namespace LearningHub.Nhs.Services.UnitTests.Builders { using LearningHub.Nhs.Models.Resource.Blocks; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/BlockCollectionBuilder.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/BlockCollectionBuilder.cs index 62c86ce72..4a6f3c7b2 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/BlockCollectionBuilder.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/BlockCollectionBuilder.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests.Builders +namespace LearningHub.Nhs.Services.UnitTests.Builders { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/QuestionAnswerBuilder.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/QuestionAnswerBuilder.cs index 27c8fbe99..2371c90bf 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/QuestionAnswerBuilder.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/QuestionAnswerBuilder.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests.Builders +namespace LearningHub.Nhs.Services.UnitTests.Builders { using LearningHub.Nhs.Models.Enums; using LearningHub.Nhs.Models.Resource; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/QuestionBlockBuilder.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/QuestionBlockBuilder.cs index 5a232f24d..ce9a0736c 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/QuestionBlockBuilder.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/QuestionBlockBuilder.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests.Builders +namespace LearningHub.Nhs.Services.UnitTests.Builders { using System.Collections.Generic; using LearningHub.Nhs.Models.Enums; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/TextBlockBuilder.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/TextBlockBuilder.cs index 8050dce5e..ca412828a 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/TextBlockBuilder.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/Builders/TextBlockBuilder.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests.Builders +namespace LearningHub.Nhs.Services.UnitTests.Builders { using LearningHub.Nhs.Models.Resource.Blocks; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/CatalogueServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/CatalogueServiceTests.cs index 3234b4f06..4157f98cb 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/CatalogueServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/CatalogueServiceTests.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Services.UnitTests { using System; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/GlobalSuppressions.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/GlobalSuppressions.cs index c1ca0a613..ac034ed57 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/GlobalSuppressions.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/GlobalSuppressions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1124:Do not use regions", Justification = "Regions serve a valid purpose.", Scope = "member", Target = "~M:LearningHub.Nhs.Services.UnitTests.MigrationServiceTests.CreateFromJsonString_ReturnsErrorIfDestinationNodeIdDoesntExist~System.Threading.Tasks.Task")] [assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1124:Do not use regions", Justification = "Regions serve a valid purpose.", Scope = "member", Target = "~M:LearningHub.Nhs.Services.UnitTests.MigrationServiceTests.Validate_ReturnsErrorIfMigrationIdDoesntExist~System.Threading.Tasks.Task")] diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncEnumerable.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncEnumerable.cs index ff15feb84..eb4f83b50 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncEnumerable.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncEnumerable.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests.Helpers +namespace LearningHub.Nhs.Services.UnitTests.Helpers { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncEnumerator.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncEnumerator.cs index 7600b9930..9aeaf0dc6 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncEnumerator.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncEnumerator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests.Helpers +namespace LearningHub.Nhs.Services.UnitTests.Helpers { using System.Collections.Generic; using System.Threading; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncQueryProvider.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncQueryProvider.cs index 3a0f44088..4a214fcfb 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncQueryProvider.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/Helpers/TestAsyncQueryProvider.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests.Helpers +namespace LearningHub.Nhs.Services.UnitTests.Helpers { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/HideAssessmentDetailsHelperTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/HideAssessmentDetailsHelperTests.cs index 3074e5c1d..bacae8091 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/HideAssessmentDetailsHelperTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/HideAssessmentDetailsHelperTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System.Linq; using LearningHub.Nhs.Models.Enums; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/InternalSystemServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/InternalSystemServiceTests.cs index 19471e705..c7597498e 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/InternalSystemServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/InternalSystemServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/LearningHub.Nhs.Services.UnitTests.csproj b/WebAPI/LearningHub.Nhs.Services.UnitTests/LearningHub.Nhs.Services.UnitTests.csproj index 47e0e5cc5..851d4a9b7 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/LearningHub.Nhs.Services.UnitTests.csproj +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/LearningHub.Nhs.Services.UnitTests.csproj @@ -13,7 +13,7 @@ - + diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/LogServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/LogServiceTests.cs index 83939d66c..81185f2f7 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/LogServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/LogServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/MigrationServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/MigrationServiceTests.cs index 83b40ee50..828f6f7b8 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/MigrationServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/MigrationServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/MyLearningServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/MyLearningServiceTests.cs index 8fbf1afaf..5182e4968 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/MyLearningServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/MyLearningServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/NotificationServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/NotificationServiceTests.cs index 934bf7706..286f159b8 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/NotificationServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/NotificationServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/ProviderServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/ProviderServiceTests.cs index 479569f26..082043b41 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/ProviderServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/ProviderServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/QuestionValidationHelperTest.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/QuestionValidationHelperTest.cs index 9674a2233..d30bdb883 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/QuestionValidationHelperTest.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/QuestionValidationHelperTest.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/RatingServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/RatingServiceTests.cs index a293e95be..7e4237467 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/RatingServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/RatingServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System.Threading.Tasks; using AutoFixture; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/ReportServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/ReportServiceTests.cs index 8bf5d449e..5514f09c3 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/ReportServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/ReportServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/ResourceServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/ResourceServiceTests.cs index 3c90be9df..8463b29c5 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/ResourceServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/ResourceServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/ScoreCalculationHelperTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/ScoreCalculationHelperTests.cs index df1df5db7..202d0be7a 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/ScoreCalculationHelperTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/ScoreCalculationHelperTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System.Collections.Generic; using LearningHub.Nhs.Models.Enums; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/TestBase.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/TestBase.cs index 8d58ab85c..61659aa2d 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/TestBase.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/TestBase.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using AutoMapper; using LearningHub.Nhs.Models.Automapper; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/TestData/PermissionTestData.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/TestData/PermissionTestData.cs index de097cb88..0d7809c9f 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/TestData/PermissionTestData.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/TestData/PermissionTestData.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests.TestData +namespace LearningHub.Nhs.Services.UnitTests.TestData { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/TestData/RoleTestData.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/TestData/RoleTestData.cs index 254daca7e..b6277b20d 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/TestData/RoleTestData.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/TestData/RoleTestData.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests.TestData +namespace LearningHub.Nhs.Services.UnitTests.TestData { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services.UnitTests/UserProviderServiceTests.cs b/WebAPI/LearningHub.Nhs.Services.UnitTests/UserProviderServiceTests.cs index 2893126f4..5849383dd 100644 --- a/WebAPI/LearningHub.Nhs.Services.UnitTests/UserProviderServiceTests.cs +++ b/WebAPI/LearningHub.Nhs.Services.UnitTests/UserProviderServiceTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.UnitTests +namespace LearningHub.Nhs.Services.UnitTests { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/ActivityService.cs b/WebAPI/LearningHub.Nhs.Services/ActivityService.cs index 9771b88bf..9561c670c 100644 --- a/WebAPI/LearningHub.Nhs.Services/ActivityService.cs +++ b/WebAPI/LearningHub.Nhs.Services/ActivityService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/AzureBlobService.cs b/WebAPI/LearningHub.Nhs.Services/AzureBlobService.cs index 0d4cb9a51..2f02a0641 100644 --- a/WebAPI/LearningHub.Nhs.Services/AzureBlobService.cs +++ b/WebAPI/LearningHub.Nhs.Services/AzureBlobService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.IO; diff --git a/WebAPI/LearningHub.Nhs.Services/AzureDataFactoryService.cs b/WebAPI/LearningHub.Nhs.Services/AzureDataFactoryService.cs index e9f815b40..52226631a 100644 --- a/WebAPI/LearningHub.Nhs.Services/AzureDataFactoryService.cs +++ b/WebAPI/LearningHub.Nhs.Services/AzureDataFactoryService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/AzureMediaService.cs b/WebAPI/LearningHub.Nhs.Services/AzureMediaService.cs index 0f7a2f018..aaa497bd7 100644 --- a/WebAPI/LearningHub.Nhs.Services/AzureMediaService.cs +++ b/WebAPI/LearningHub.Nhs.Services/AzureMediaService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/BaseService.cs b/WebAPI/LearningHub.Nhs.Services/BaseService.cs index 00d66eea9..2d9ae36dc 100644 --- a/WebAPI/LearningHub.Nhs.Services/BaseService.cs +++ b/WebAPI/LearningHub.Nhs.Services/BaseService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using LearningHub.Nhs.Services.Interface; using Microsoft.Extensions.Logging; diff --git a/WebAPI/LearningHub.Nhs.Services/BookmarkService.cs b/WebAPI/LearningHub.Nhs.Services/BookmarkService.cs index 7602d248c..140e02f85 100644 --- a/WebAPI/LearningHub.Nhs.Services/BookmarkService.cs +++ b/WebAPI/LearningHub.Nhs.Services/BookmarkService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/CachingService.cs b/WebAPI/LearningHub.Nhs.Services/CachingService.cs index 921deb504..615814d12 100644 --- a/WebAPI/LearningHub.Nhs.Services/CachingService.cs +++ b/WebAPI/LearningHub.Nhs.Services/CachingService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services/CatalogueService.cs b/WebAPI/LearningHub.Nhs.Services/CatalogueService.cs index cba398bf9..f9c26859d 100644 --- a/WebAPI/LearningHub.Nhs.Services/CatalogueService.cs +++ b/WebAPI/LearningHub.Nhs.Services/CatalogueService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/DashboardService.cs b/WebAPI/LearningHub.Nhs.Services/DashboardService.cs index afc5010e5..e4d5fb1bc 100644 --- a/WebAPI/LearningHub.Nhs.Services/DashboardService.cs +++ b/WebAPI/LearningHub.Nhs.Services/DashboardService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/DetectJsLogService.cs b/WebAPI/LearningHub.Nhs.Services/DetectJsLogService.cs index 2a2c87be0..ba7b26c81 100644 --- a/WebAPI/LearningHub.Nhs.Services/DetectJsLogService.cs +++ b/WebAPI/LearningHub.Nhs.Services/DetectJsLogService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Threading.Tasks; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/LearningHub.Nhs.Services/EventLogService.cs b/WebAPI/LearningHub.Nhs.Services/EventLogService.cs index 9f3a39b9c..a5c7612d8 100644 --- a/WebAPI/LearningHub.Nhs.Services/EventLogService.cs +++ b/WebAPI/LearningHub.Nhs.Services/EventLogService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using LearningHub.Nhs.Models.EventLog; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/LearningHub.Nhs.Services/EventService.cs b/WebAPI/LearningHub.Nhs.Services/EventService.cs index aeea9c49d..86e936cc1 100644 --- a/WebAPI/LearningHub.Nhs.Services/EventService.cs +++ b/WebAPI/LearningHub.Nhs.Services/EventService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Analytics; diff --git a/WebAPI/LearningHub.Nhs.Services/Extensions/LinqQueryableExtensions.cs b/WebAPI/LearningHub.Nhs.Services/Extensions/LinqQueryableExtensions.cs index 5f55a4d0a..aebd9ea16 100644 --- a/WebAPI/LearningHub.Nhs.Services/Extensions/LinqQueryableExtensions.cs +++ b/WebAPI/LearningHub.Nhs.Services/Extensions/LinqQueryableExtensions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Extensions +namespace LearningHub.Nhs.Services.Extensions { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/Extensions/PageExtension.cs b/WebAPI/LearningHub.Nhs.Services/Extensions/PageExtension.cs index 36864ab29..6be905685 100644 --- a/WebAPI/LearningHub.Nhs.Services/Extensions/PageExtension.cs +++ b/WebAPI/LearningHub.Nhs.Services/Extensions/PageExtension.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/FileTypeService.cs b/WebAPI/LearningHub.Nhs.Services/FileTypeService.cs index 81d83fc01..7e2db356e 100644 --- a/WebAPI/LearningHub.Nhs.Services/FileTypeService.cs +++ b/WebAPI/LearningHub.Nhs.Services/FileTypeService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Collections.Generic; using System.IO; diff --git a/WebAPI/LearningHub.Nhs.Services/FindWiseHttpClient.cs b/WebAPI/LearningHub.Nhs.Services/FindWiseHttpClient.cs index a4322e668..51a2fa0cb 100644 --- a/WebAPI/LearningHub.Nhs.Services/FindWiseHttpClient.cs +++ b/WebAPI/LearningHub.Nhs.Services/FindWiseHttpClient.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Net.Http; diff --git a/WebAPI/LearningHub.Nhs.Services/Findwise/FindwiseApiFacade.cs b/WebAPI/LearningHub.Nhs.Services/Findwise/FindwiseApiFacade.cs index 4f442c6c6..06911ba10 100644 --- a/WebAPI/LearningHub.Nhs.Services/Findwise/FindwiseApiFacade.cs +++ b/WebAPI/LearningHub.Nhs.Services/Findwise/FindwiseApiFacade.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Findwise +namespace LearningHub.Nhs.Services.Findwise { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/GlobalSuppressions.cs b/WebAPI/LearningHub.Nhs.Services/GlobalSuppressions.cs index 041a436d5..f79bc8045 100644 --- a/WebAPI/LearningHub.Nhs.Services/GlobalSuppressions.cs +++ b/WebAPI/LearningHub.Nhs.Services/GlobalSuppressions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1124:Do not use regions", Justification = "Regions allowed", Scope = "member", Target = "~M:LearningHub.Nhs.Services.ResourceService.CreateGenericFileDetailsAsync(System.Int32,LearningHub.Nhs.Models.Entities.Resource.File,System.Int32)~System.Threading.Tasks.Task")] [assembly: SuppressMessage("StyleCop.CSharp.ReadabilityRules", "SA1124:Do not use regions", Justification = "Regions allowed", Scope = "member", Target = "~M:LearningHub.Nhs.Services.ResourceService.GetResourceCardExtendedDetailsAsync(System.Int32)~System.Threading.Tasks.Task{LearningHub.Nhs.Models.Resource.ResourceCardExtendedViewModel}")] diff --git a/WebAPI/LearningHub.Nhs.Services/Helpers/AnswerSubmissionValidationHelper.cs b/WebAPI/LearningHub.Nhs.Services/Helpers/AnswerSubmissionValidationHelper.cs index 93547837f..7383186c7 100644 --- a/WebAPI/LearningHub.Nhs.Services/Helpers/AnswerSubmissionValidationHelper.cs +++ b/WebAPI/LearningHub.Nhs.Services/Helpers/AnswerSubmissionValidationHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Helpers +namespace LearningHub.Nhs.Services.Helpers { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/Helpers/BinaryFormatterHelper.cs b/WebAPI/LearningHub.Nhs.Services/Helpers/BinaryFormatterHelper.cs index e29110e39..9757caafb 100644 --- a/WebAPI/LearningHub.Nhs.Services/Helpers/BinaryFormatterHelper.cs +++ b/WebAPI/LearningHub.Nhs.Services/Helpers/BinaryFormatterHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Helpers +namespace LearningHub.Nhs.Services.Helpers { /// /// The querystring helper. diff --git a/WebAPI/LearningHub.Nhs.Services/Helpers/HashGeneratorHelper.cs b/WebAPI/LearningHub.Nhs.Services/Helpers/HashGeneratorHelper.cs index 84a86dede..acdf80b43 100644 --- a/WebAPI/LearningHub.Nhs.Services/Helpers/HashGeneratorHelper.cs +++ b/WebAPI/LearningHub.Nhs.Services/Helpers/HashGeneratorHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Helpers +namespace LearningHub.Nhs.Services.Helpers { using System.Linq; using System.Security.Cryptography; diff --git a/WebAPI/LearningHub.Nhs.Services/Helpers/HideAssessmentDetailsHelper.cs b/WebAPI/LearningHub.Nhs.Services/Helpers/HideAssessmentDetailsHelper.cs index b61762b52..6c81a7568 100644 --- a/WebAPI/LearningHub.Nhs.Services/Helpers/HideAssessmentDetailsHelper.cs +++ b/WebAPI/LearningHub.Nhs.Services/Helpers/HideAssessmentDetailsHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Helpers +namespace LearningHub.Nhs.Services.Helpers { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/Helpers/QuestionValidationHelper.cs b/WebAPI/LearningHub.Nhs.Services/Helpers/QuestionValidationHelper.cs index 2c304b42e..ea4203f84 100644 --- a/WebAPI/LearningHub.Nhs.Services/Helpers/QuestionValidationHelper.cs +++ b/WebAPI/LearningHub.Nhs.Services/Helpers/QuestionValidationHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Helpers +namespace LearningHub.Nhs.Services.Helpers { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services/Helpers/ScoreCalculationHelper.cs b/WebAPI/LearningHub.Nhs.Services/Helpers/ScoreCalculationHelper.cs index ec2b7bae3..1c7635cca 100644 --- a/WebAPI/LearningHub.Nhs.Services/Helpers/ScoreCalculationHelper.cs +++ b/WebAPI/LearningHub.Nhs.Services/Helpers/ScoreCalculationHelper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Helpers +namespace LearningHub.Nhs.Services.Helpers { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/HierarchyService.cs b/WebAPI/LearningHub.Nhs.Services/HierarchyService.cs index 0f55404f7..4a422e983 100644 --- a/WebAPI/LearningHub.Nhs.Services/HierarchyService.cs +++ b/WebAPI/LearningHub.Nhs.Services/HierarchyService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/InternalSystemService.cs b/WebAPI/LearningHub.Nhs.Services/InternalSystemService.cs index 34ad5ff4d..7b1927157 100644 --- a/WebAPI/LearningHub.Nhs.Services/InternalSystemService.cs +++ b/WebAPI/LearningHub.Nhs.Services/InternalSystemService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Collections.Generic; using System.Linq; @@ -72,9 +68,10 @@ public async Task> GetAllAsync() /// /// The id. /// A representing the result of the asynchronous operation. - public Task GetByIdAsync(int id) + public async Task GetByIdAsync(int id) { - return Task.FromResult(this.GetAllAsync().Result.Single(x => x.Id == id)); + var allItems = await this.GetAllAsync(); + return allItems.Single(x => x.Id == id); } /// diff --git a/WebAPI/LearningHub.Nhs.Services/LearningHub.Nhs.Services.csproj b/WebAPI/LearningHub.Nhs.Services/LearningHub.Nhs.Services.csproj index 0a200d9a9..d9cfdd580 100644 --- a/WebAPI/LearningHub.Nhs.Services/LearningHub.Nhs.Services.csproj +++ b/WebAPI/LearningHub.Nhs.Services/LearningHub.Nhs.Services.csproj @@ -13,7 +13,7 @@ - + diff --git a/WebAPI/LearningHub.Nhs.Services/LogService.cs b/WebAPI/LearningHub.Nhs.Services/LogService.cs index 4aa05d4d4..e07a4196b 100644 --- a/WebAPI/LearningHub.Nhs.Services/LogService.cs +++ b/WebAPI/LearningHub.Nhs.Services/LogService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/Messaging/EmailSenderService.cs b/WebAPI/LearningHub.Nhs.Services/Messaging/EmailSenderService.cs index e49a53316..e4eaf341b 100644 --- a/WebAPI/LearningHub.Nhs.Services/Messaging/EmailSenderService.cs +++ b/WebAPI/LearningHub.Nhs.Services/Messaging/EmailSenderService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Messaging +namespace LearningHub.Nhs.Services.Messaging { using System.Threading.Tasks; using LearningHub.Nhs.Models.Email; diff --git a/WebAPI/LearningHub.Nhs.Services/Messaging/EmailTemplateService.cs b/WebAPI/LearningHub.Nhs.Services/Messaging/EmailTemplateService.cs index 1b21f5b0e..edded9cc3 100644 --- a/WebAPI/LearningHub.Nhs.Services/Messaging/EmailTemplateService.cs +++ b/WebAPI/LearningHub.Nhs.Services/Messaging/EmailTemplateService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Messaging +namespace LearningHub.Nhs.Services.Messaging { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/Messaging/MessageService.cs b/WebAPI/LearningHub.Nhs.Services/Messaging/MessageService.cs index cd5602f53..fa28f33b1 100644 --- a/WebAPI/LearningHub.Nhs.Services/Messaging/MessageService.cs +++ b/WebAPI/LearningHub.Nhs.Services/Messaging/MessageService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Messaging +namespace LearningHub.Nhs.Services.Messaging { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/Messaging/NotificationSenderService.cs b/WebAPI/LearningHub.Nhs.Services/Messaging/NotificationSenderService.cs index f94341d7c..cce9fd8ed 100644 --- a/WebAPI/LearningHub.Nhs.Services/Messaging/NotificationSenderService.cs +++ b/WebAPI/LearningHub.Nhs.Services/Messaging/NotificationSenderService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Messaging +namespace LearningHub.Nhs.Services.Messaging { using System; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services/MigrationService.cs b/WebAPI/LearningHub.Nhs.Services/MigrationService.cs index ffffa34d0..471c4027c 100644 --- a/WebAPI/LearningHub.Nhs.Services/MigrationService.cs +++ b/WebAPI/LearningHub.Nhs.Services/MigrationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/MyLearningService.cs b/WebAPI/LearningHub.Nhs.Services/MyLearningService.cs index c05514c40..d64c5cca7 100644 --- a/WebAPI/LearningHub.Nhs.Services/MyLearningService.cs +++ b/WebAPI/LearningHub.Nhs.Services/MyLearningService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; @@ -186,14 +182,23 @@ public async Task> GetResourceCertif if (activityEntities.Any()) { - var filteredActivities = new List { activityEntities.FirstOrDefault(x => x.ActivityStatusId == ((int)ActivityStatusEnum.Completed) || x.ActivityStatusId == ((int)ActivityStatusEnum.Launched) || x.ActivityStatusId == ((int)ActivityStatusEnum.Passed) || x.ActivityStatusId == ((int)ActivityStatusEnum.Downloaded)) }; - if (filteredActivities.FirstOrDefault() != null) + ResourceActivity filteredActivity = null; + if (activityEntities.FirstOrDefault()?.Resource.ResourceTypeEnum == ResourceTypeEnum.Audio || activityEntities.FirstOrDefault()?.Resource.ResourceTypeEnum == ResourceTypeEnum.Video) + { + filteredActivity = activityEntities.Where(x => x.MediaResourceActivity != null && x.MediaResourceActivity.Any(x => x.PercentComplete == 100)).OrderByDescending(x => x.ActivityStart).FirstOrDefault(); + } + else + { + filteredActivity = activityEntities.Where(x => x.ActivityStatusId == ((int)ActivityStatusEnum.Completed) || x.ActivityStatusId == ((int)ActivityStatusEnum.Launched) || x.ActivityStatusId == ((int)ActivityStatusEnum.Passed) || x.ActivityStatusId == ((int)ActivityStatusEnum.Downloaded)).OrderByDescending(x => x.ActivityStart).FirstOrDefault(); + } + + if (filteredActivity != null) { - var result = await this.PopulateMyLearningDetailedItemViewModels(filteredActivities, userId); + var result = await this.PopulateMyLearningDetailedItemViewModels(new List { filteredActivity }, userId); myLearningDetailedItemViewModel = result.FirstOrDefault(); - if (filteredActivities.FirstOrDefault().Resource.ResourceTypeEnum == ResourceTypeEnum.Scorm) + if (filteredActivity.Resource.ResourceTypeEnum == ResourceTypeEnum.Scorm) { - var sa = this.scormActivityRepository.GetAll().OrderByDescending(x => x.Id).Where(x => x.ResourceActivity.ResourceVersionId == filteredActivities.FirstOrDefault().ResourceVersionId && x.CreateUserId == filteredActivities.FirstOrDefault().UserId); + var sa = this.scormActivityRepository.GetAll().OrderByDescending(x => x.Id).Where(x => x.ResourceActivity.ResourceVersionId == filteredActivity.ResourceVersionId && x.CreateUserId == filteredActivity.UserId); if (sa.Any()) { myLearningDetailedItemViewModel.ActivityDurationSeconds = 0; @@ -203,9 +208,9 @@ public async Task> GetResourceCertif } } } - else if (filteredActivities.FirstOrDefault().Resource.ResourceTypeEnum == ResourceTypeEnum.Video || filteredActivities.FirstOrDefault().Resource.ResourceTypeEnum == ResourceTypeEnum.Audio) + else if (filteredActivity.Resource.ResourceTypeEnum == ResourceTypeEnum.Video || filteredActivity.Resource.ResourceTypeEnum == ResourceTypeEnum.Audio) { - var ma = this.mediaResourceActivity.GetAll().OrderByDescending(x => x.Id).Where(x => x.ResourceActivity.ResourceVersionId == filteredActivities.FirstOrDefault().ResourceVersionId && x.CreateUserId == filteredActivities.FirstOrDefault().UserId); + var ma = this.mediaResourceActivity.GetAll().OrderByDescending(x => x.Id).Where(x => x.ResourceActivity.ResourceVersionId == filteredActivity.ResourceVersionId && x.CreateUserId == filteredActivity.UserId); if (ma.Any()) { myLearningDetailedItemViewModel.ActivityDurationSeconds = 0; @@ -263,11 +268,19 @@ public async Task> PopulateMyLearningDetai latestActivityCheck = latestActivityCheck.Where(x => x.AssessmentResourceActivity.FirstOrDefault() != null && x.AssessmentResourceActivity.FirstOrDefault().Score.HasValue && ((int)Math.Round(x.AssessmentResourceActivity.FirstOrDefault().Score.Value, MidpointRounding.AwayFromZero) >= x.ResourceVersion.AssessmentResourceVersion.PassMark)).ToList(); } - var expectedActivities = latestActivityCheck.Where(x => x.Id == resourceActivity.Id && (x.ActivityStatusId == ((int)ActivityStatusEnum.Completed) || x.ActivityStatusId == ((int)ActivityStatusEnum.Launched) || x.ActivityStatusId == ((int)ActivityStatusEnum.Passed) || x.ActivityStatusId == ((int)ActivityStatusEnum.Downloaded))).OrderByDescending(x => x.ActivityStart).FirstOrDefault(); + ResourceActivity expectedActivity = null; + if (resourceActivity.Resource.ResourceTypeEnum == ResourceTypeEnum.Audio || resourceActivity.Resource.ResourceTypeEnum == ResourceTypeEnum.Video) + { + expectedActivity = latestActivityCheck.Where(x => x.Id == resourceActivity.Id && x.MediaResourceActivity != null && x.MediaResourceActivity.Any(x => x.PercentComplete == 100)).OrderByDescending(x => x.ActivityStart).FirstOrDefault(); + } + else + { + expectedActivity = latestActivityCheck.Where(x => x.Id == resourceActivity.Id && (x.ActivityStatusId == ((int)ActivityStatusEnum.Completed) || x.ActivityStatusId == ((int)ActivityStatusEnum.Launched) || x.ActivityStatusId == ((int)ActivityStatusEnum.Passed) || x.ActivityStatusId == ((int)ActivityStatusEnum.Downloaded))).OrderByDescending(x => x.ActivityStart).FirstOrDefault(); + } - if (latestActivityCheck.Any() && expectedActivities != null) + if (latestActivityCheck.Any() && expectedActivity != null) { - if (latestActivityCheck.OrderByDescending(x => x.ActivityStart).FirstOrDefault().Id == expectedActivities.Id) + if (latestActivityCheck.OrderByDescending(x => x.ActivityStart).FirstOrDefault().Id == expectedActivity.Id) { viewModel.CertificateEnabled = resourceActivity.ResourceVersion.CertificateEnabled.GetValueOrDefault(false); } diff --git a/WebAPI/LearningHub.Nhs.Services/NotificationService.cs b/WebAPI/LearningHub.Nhs.Services/NotificationService.cs index 24430d916..f0791c45d 100644 --- a/WebAPI/LearningHub.Nhs.Services/NotificationService.cs +++ b/WebAPI/LearningHub.Nhs.Services/NotificationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/NotificationTemplateService.cs b/WebAPI/LearningHub.Nhs.Services/NotificationTemplateService.cs index 9e2490c7a..8452f03b5 100644 --- a/WebAPI/LearningHub.Nhs.Services/NotificationTemplateService.cs +++ b/WebAPI/LearningHub.Nhs.Services/NotificationTemplateService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/PageService.cs b/WebAPI/LearningHub.Nhs.Services/PageService.cs index 23a76271b..55ee55a24 100644 --- a/WebAPI/LearningHub.Nhs.Services/PageService.cs +++ b/WebAPI/LearningHub.Nhs.Services/PageService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/PartialFileService.cs b/WebAPI/LearningHub.Nhs.Services/PartialFileService.cs index a18a0e778..2998ade3d 100644 --- a/WebAPI/LearningHub.Nhs.Services/PartialFileService.cs +++ b/WebAPI/LearningHub.Nhs.Services/PartialFileService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services/PermissionService.cs b/WebAPI/LearningHub.Nhs.Services/PermissionService.cs index ce0f6cdd3..52b172761 100644 --- a/WebAPI/LearningHub.Nhs.Services/PermissionService.cs +++ b/WebAPI/LearningHub.Nhs.Services/PermissionService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services/ProviderService.cs b/WebAPI/LearningHub.Nhs.Services/ProviderService.cs index 1f44f7f00..ed1f35a36 100644 --- a/WebAPI/LearningHub.Nhs.Services/ProviderService.cs +++ b/WebAPI/LearningHub.Nhs.Services/ProviderService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services/QueueCommunicatorService.cs b/WebAPI/LearningHub.Nhs.Services/QueueCommunicatorService.cs index dae506b9f..0baa5211a 100644 --- a/WebAPI/LearningHub.Nhs.Services/QueueCommunicatorService.cs +++ b/WebAPI/LearningHub.Nhs.Services/QueueCommunicatorService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Interface +namespace LearningHub.Nhs.Services.Interface { using System.Threading.Tasks; using Azure.Storage.Queues; diff --git a/WebAPI/LearningHub.Nhs.Services/RatingService.cs b/WebAPI/LearningHub.Nhs.Services/RatingService.cs index a61c17723..7a40a44ac 100644 --- a/WebAPI/LearningHub.Nhs.Services/RatingService.cs +++ b/WebAPI/LearningHub.Nhs.Services/RatingService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Linq; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services/Report/ReportService.cs b/WebAPI/LearningHub.Nhs.Services/Report/ReportService.cs index 0db516d77..2fca6d4fe 100644 --- a/WebAPI/LearningHub.Nhs.Services/Report/ReportService.cs +++ b/WebAPI/LearningHub.Nhs.Services/Report/ReportService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services.Report +namespace LearningHub.Nhs.Services.Report { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/ResourceReferenceService.cs b/WebAPI/LearningHub.Nhs.Services/ResourceReferenceService.cs index 1ab195ddd..96d4ac423 100644 --- a/WebAPI/LearningHub.Nhs.Services/ResourceReferenceService.cs +++ b/WebAPI/LearningHub.Nhs.Services/ResourceReferenceService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Threading.Tasks; using LearningHub.Nhs.Models.Entities.Resource; diff --git a/WebAPI/LearningHub.Nhs.Services/ResourceService.cs b/WebAPI/LearningHub.Nhs.Services/ResourceService.cs index 0e1e36c09..1262a6cca 100644 --- a/WebAPI/LearningHub.Nhs.Services/ResourceService.cs +++ b/WebAPI/LearningHub.Nhs.Services/ResourceService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Services { using System; diff --git a/WebAPI/LearningHub.Nhs.Services/ResourceSyncService.cs b/WebAPI/LearningHub.Nhs.Services/ResourceSyncService.cs index 195f3e685..9c24ff569 100644 --- a/WebAPI/LearningHub.Nhs.Services/ResourceSyncService.cs +++ b/WebAPI/LearningHub.Nhs.Services/ResourceSyncService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/RoadmapService.cs b/WebAPI/LearningHub.Nhs.Services/RoadmapService.cs index 8a21ae45c..e3c7f8408 100644 --- a/WebAPI/LearningHub.Nhs.Services/RoadmapService.cs +++ b/WebAPI/LearningHub.Nhs.Services/RoadmapService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/RoleService.cs b/WebAPI/LearningHub.Nhs.Services/RoleService.cs index 59273cec8..040444c88 100644 --- a/WebAPI/LearningHub.Nhs.Services/RoleService.cs +++ b/WebAPI/LearningHub.Nhs.Services/RoleService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/ScormContentServerService.cs b/WebAPI/LearningHub.Nhs.Services/ScormContentServerService.cs index 793e91dbf..5fef76ecf 100644 --- a/WebAPI/LearningHub.Nhs.Services/ScormContentServerService.cs +++ b/WebAPI/LearningHub.Nhs.Services/ScormContentServerService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Threading.Tasks; using AutoMapper; diff --git a/WebAPI/LearningHub.Nhs.Services/SearchService.cs b/WebAPI/LearningHub.Nhs.Services/SearchService.cs index 84e892ea7..321313bd3 100644 --- a/WebAPI/LearningHub.Nhs.Services/SearchService.cs +++ b/WebAPI/LearningHub.Nhs.Services/SearchService.cs @@ -1,7 +1,3 @@ -// -// Copyright (c) HEE.nhs.uk. -// - namespace LearningHub.Nhs.Services { using System; diff --git a/WebAPI/LearningHub.Nhs.Services/SecurityService.cs b/WebAPI/LearningHub.Nhs.Services/SecurityService.cs index af279681a..e1526a973 100644 --- a/WebAPI/LearningHub.Nhs.Services/SecurityService.cs +++ b/WebAPI/LearningHub.Nhs.Services/SecurityService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Security.Cryptography; diff --git a/WebAPI/LearningHub.Nhs.Services/UserGroupService.cs b/WebAPI/LearningHub.Nhs.Services/UserGroupService.cs index ade914db6..985289733 100644 --- a/WebAPI/LearningHub.Nhs.Services/UserGroupService.cs +++ b/WebAPI/LearningHub.Nhs.Services/UserGroupService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/UserLearningRecordService.cs b/WebAPI/LearningHub.Nhs.Services/UserLearningRecordService.cs index f03d63852..80cd9a27c 100644 --- a/WebAPI/LearningHub.Nhs.Services/UserLearningRecordService.cs +++ b/WebAPI/LearningHub.Nhs.Services/UserLearningRecordService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Collections.Generic; diff --git a/WebAPI/LearningHub.Nhs.Services/UserNotificationService.cs b/WebAPI/LearningHub.Nhs.Services/UserNotificationService.cs index 751645ab9..d6143270a 100644 --- a/WebAPI/LearningHub.Nhs.Services/UserNotificationService.cs +++ b/WebAPI/LearningHub.Nhs.Services/UserNotificationService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Linq; diff --git a/WebAPI/LearningHub.Nhs.Services/UserProfileService.cs b/WebAPI/LearningHub.Nhs.Services/UserProfileService.cs index dd3ee4f83..d2d69e632 100644 --- a/WebAPI/LearningHub.Nhs.Services/UserProfileService.cs +++ b/WebAPI/LearningHub.Nhs.Services/UserProfileService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Threading.Tasks; using AutoMapper; diff --git a/WebAPI/LearningHub.Nhs.Services/UserProviderService.cs b/WebAPI/LearningHub.Nhs.Services/UserProviderService.cs index af8585d38..01b3367c1 100644 --- a/WebAPI/LearningHub.Nhs.Services/UserProviderService.cs +++ b/WebAPI/LearningHub.Nhs.Services/UserProviderService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System; using System.Threading.Tasks; diff --git a/WebAPI/LearningHub.Nhs.Services/UserService.cs b/WebAPI/LearningHub.Nhs.Services/UserService.cs index 5cc798972..65ecfdd52 100644 --- a/WebAPI/LearningHub.Nhs.Services/UserService.cs +++ b/WebAPI/LearningHub.Nhs.Services/UserService.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Services +namespace LearningHub.Nhs.Services { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/CreateParamsModel.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/CreateParamsModel.cs index 443bae3ab..b6235108b 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/CreateParamsModel.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/CreateParamsModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.ConsoleApp +namespace LearningHub.Nhs.Migration.ConsoleApp { /// /// The create params model. diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/LearningHub.Nhs.Migration.ConsoleApp.csproj b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/LearningHub.Nhs.Migration.ConsoleApp.csproj index 4548a8fa3..7990f7c87 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/LearningHub.Nhs.Migration.ConsoleApp.csproj +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/LearningHub.Nhs.Migration.ConsoleApp.csproj @@ -24,7 +24,7 @@ - + all diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/Program.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/Program.cs index 01b365cef..c2579b250 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/Program.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.ConsoleApp/Program.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.ConsoleApp +namespace LearningHub.Nhs.Migration.ConsoleApp { using System; using System.Collections.Generic; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/LearningHub.Nhs.Migration.Interface.csproj b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/LearningHub.Nhs.Migration.Interface.csproj index 1bf03adeb..5c0d5b6b9 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/LearningHub.Nhs.Migration.Interface.csproj +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/LearningHub.Nhs.Migration.Interface.csproj @@ -9,7 +9,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Mapping/IInputRecordMapper.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Mapping/IInputRecordMapper.cs index 91780c754..555dac064 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Mapping/IInputRecordMapper.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Mapping/IInputRecordMapper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Interface.Mapping +namespace LearningHub.Nhs.Migration.Interface.Mapping { using LearningHub.Nhs.Migration.Models; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Mapping/IInputRecordMapperFactory.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Mapping/IInputRecordMapperFactory.cs index aa26c0450..edcc92eb3 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Mapping/IInputRecordMapperFactory.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Mapping/IInputRecordMapperFactory.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Interface.Mapping +namespace LearningHub.Nhs.Migration.Interface.Mapping { /// /// Defines the methods exposed by the input record mapper factory. diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Validation/IInputRecordValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Validation/IInputRecordValidator.cs index f3e425bd8..2e0573ed6 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Validation/IInputRecordValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Validation/IInputRecordValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Interface.Validation +namespace LearningHub.Nhs.Migration.Interface.Validation { using System.Threading.Tasks; using LearningHub.Nhs.Migration.Models; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Validation/IInputRecordValidatorFactory.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Validation/IInputRecordValidatorFactory.cs index 14a4eceae..6c4962bdd 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Validation/IInputRecordValidatorFactory.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/Validation/IInputRecordValidatorFactory.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Interface.Validation +namespace LearningHub.Nhs.Migration.Interface.Validation { /// /// Defines the methods exposed by the validator factory. diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/stylecop.json b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/stylecop.json index 3b460569b..4ba728b35 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/stylecop.json +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Interface/stylecop.json @@ -1,9 +1,3 @@ { "$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", - "settings": { - "documentationRules": { - "copyrightText": "Copyright (c) {companyName}.", - "companyName": "HEE.nhs.uk" - } - } } \ No newline at end of file diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/AuthorModel.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/AuthorModel.cs index 025112ecd..57aedd229 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/AuthorModel.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/AuthorModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { using Newtonsoft.Json; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/ResourceFileModel.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/ResourceFileModel.cs index d6616f381..0264bbc4f 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/ResourceFileModel.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/ResourceFileModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { using Newtonsoft.Json; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/StagingTableInputModel.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/StagingTableInputModel.cs index dccbabb9f..c37cb3519 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/StagingTableInputModel.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/StagingTableInputModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { using System; using System.ComponentModel.DataAnnotations.Schema; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/StandardInputModel.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/StandardInputModel.cs index 0d75dccc5..b0142b8fc 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/StandardInputModel.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/InputModels/StandardInputModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { using System; using Newtonsoft.Json; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/LearningHub.Nhs.Migration.Models.csproj b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/LearningHub.Nhs.Migration.Models.csproj index b67880c09..e51a95a68 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/LearningHub.Nhs.Migration.Models.csproj +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/LearningHub.Nhs.Migration.Models.csproj @@ -10,7 +10,7 @@ - + all diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/AuthorParamsModel.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/AuthorParamsModel.cs index 3c4cba855..593aac068 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/AuthorParamsModel.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/AuthorParamsModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { /// /// Provides the standard parameters required for creating ResourceVersionAuthors via the MigrationService.CreateMetadataAsync method. diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/ResourceFileParamsModel.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/ResourceFileParamsModel.cs index 39483df67..11bc83afb 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/ResourceFileParamsModel.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/ResourceFileParamsModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { /// /// Provides the parameters required for creating a resource file. diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/ResourceParamsModel.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/ResourceParamsModel.cs index 08bb895c8..026f87011 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/ResourceParamsModel.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResourceModel/ResourceParamsModel.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { using System; using System.Collections.Generic; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationBeginPublishResult.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationBeginPublishResult.cs index 1d1d65908..d199729b8 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationBeginPublishResult.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationBeginPublishResult.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { using System.Collections.Generic; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationInputRecordValidationResult.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationInputRecordValidationResult.cs index 9ff11bde1..76f506491 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationInputRecordValidationResult.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationInputRecordValidationResult.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationPublishResult.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationPublishResult.cs index 501d30290..bebd987d8 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationPublishResult.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationPublishResult.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { using System.Collections.Generic; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationResourceCreationResult.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationResourceCreationResult.cs index c170ff7ff..3a2b9664f 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationResourceCreationResult.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationResourceCreationResult.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { using System.Collections.Generic; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationValidationResult.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationValidationResult.cs index a496b5134..f06b7629c 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationValidationResult.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/MigrationValidationResult.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models +namespace LearningHub.Nhs.Migration.Models { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/ResourceCreateProcResult.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/ResourceCreateProcResult.cs index 892d48c81..e2529388e 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/ResourceCreateProcResult.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Models/ResultModels/ResourceCreateProcResult.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Models.ResultModels +namespace LearningHub.Nhs.Migration.Models.ResultModels { /// /// Stores Ids returned by the migrations.ResourceCreate stored proc. diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/IStagingTableInputModelRepository.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/IStagingTableInputModelRepository.cs index b5d4afdf9..4767762ad 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/IStagingTableInputModelRepository.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/IStagingTableInputModelRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Staging.Repository +namespace LearningHub.Nhs.Migration.Staging.Repository { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/LearningHub.Nhs.Migration.Staging.Repository.csproj b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/LearningHub.Nhs.Migration.Staging.Repository.csproj index ca56473a8..21be892d0 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/LearningHub.Nhs.Migration.Staging.Repository.csproj +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/LearningHub.Nhs.Migration.Staging.Repository.csproj @@ -9,7 +9,7 @@ - + diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/MigrationStagingDbContext.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/MigrationStagingDbContext.cs index 4cbb8ce6f..945596eed 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/MigrationStagingDbContext.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/MigrationStagingDbContext.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Staging.Repository +namespace LearningHub.Nhs.Migration.Staging.Repository { using LearningHub.Nhs.Migration.Models; using Microsoft.EntityFrameworkCore; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/StagingTableInputModelRepository.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/StagingTableInputModelRepository.cs index c6ad04552..2890ca570 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/StagingTableInputModelRepository.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.Staging.Repository/StagingTableInputModelRepository.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Staging.Repository +namespace LearningHub.Nhs.Migration.Staging.Repository { using System.Collections.Generic; using System.Threading.Tasks; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/GlobalSuppressions.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/GlobalSuppressions.cs index 549629e86..5f52d7694 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/GlobalSuppressions.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/GlobalSuppressions.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -// This file is used by Code Analysis to maintain SuppressMessage +// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/LearningHub.Nhs.Migration.UnitTests.csproj b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/LearningHub.Nhs.Migration.UnitTests.csproj index 976365de3..930bff128 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/LearningHub.Nhs.Migration.UnitTests.csproj +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/LearningHub.Nhs.Migration.UnitTests.csproj @@ -10,7 +10,7 @@ - + diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Mapping/StagingTableInputRecordMapperTests.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Mapping/StagingTableInputRecordMapperTests.cs index 303f3ed61..28543179f 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Mapping/StagingTableInputRecordMapperTests.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Mapping/StagingTableInputRecordMapperTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.UnitTests.Mapping +namespace LearningHub.Nhs.Migration.UnitTests.Mapping { using System; using System.Linq; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Mapping/StandardInputRecordMapperTests.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Mapping/StandardInputRecordMapperTests.cs index cae355fd1..037d80fd4 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Mapping/StandardInputRecordMapperTests.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Mapping/StandardInputRecordMapperTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.UnitTests.Mapping +namespace LearningHub.Nhs.Migration.UnitTests.Mapping { using System; using System.Linq; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Validation/StagingTableInputRecordValidatorTests.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Validation/StagingTableInputRecordValidatorTests.cs index 3e6f81036..751da1f54 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Validation/StagingTableInputRecordValidatorTests.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Validation/StagingTableInputRecordValidatorTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.UnitTests.Validation +namespace LearningHub.Nhs.Migration.UnitTests.Validation { using System; using System.Collections.Generic; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Validation/StandardInputRecordValidatorTests.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Validation/StandardInputRecordValidatorTests.cs index 20a3f1631..5e1ad7b04 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Validation/StandardInputRecordValidatorTests.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration.UnitTests/Validation/StandardInputRecordValidatorTests.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.UnitTests.Validation +namespace LearningHub.Nhs.Migration.UnitTests.Validation { using System; using System.Collections.Generic; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/LearningHub.Nhs.Migration.csproj b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/LearningHub.Nhs.Migration.csproj index ea8b9d3eb..6b9db73c4 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/LearningHub.Nhs.Migration.csproj +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/LearningHub.Nhs.Migration.csproj @@ -12,7 +12,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/FileTypeLookup.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/FileTypeLookup.cs index 959457d2a..710c12943 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/FileTypeLookup.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/FileTypeLookup.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Mapping.Helpers +namespace LearningHub.Nhs.Migration.Mapping.Helpers { using System.Collections.Generic; using System.IO; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/NodeIdLookup.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/NodeIdLookup.cs index a87d238ae..afc114ba8 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/NodeIdLookup.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/NodeIdLookup.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Mapping.Helpers +namespace LearningHub.Nhs.Migration.Mapping.Helpers { using LearningHub.Nhs.Repository.Interface.Hierarchy; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/UserLookup.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/UserLookup.cs index 5072c62ba..2318fedf1 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/UserLookup.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/Helpers/UserLookup.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Mapping.Helpers +namespace LearningHub.Nhs.Migration.Mapping.Helpers { using LearningHub.Nhs.Models.Entities; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/InputRecordMapperBase.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/InputRecordMapperBase.cs index 7027f8189..d5f8f2efc 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/InputRecordMapperBase.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/InputRecordMapperBase.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Mapping +namespace LearningHub.Nhs.Migration.Mapping { using System; using Ganss.XSS; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/InputRecordMapperFactory.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/InputRecordMapperFactory.cs index 5c12560e1..fffacee6c 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/InputRecordMapperFactory.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/InputRecordMapperFactory.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Mapping +namespace LearningHub.Nhs.Migration.Mapping { using System; using LearningHub.Nhs.Migration.Interface.Mapping; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/StagingTableInputRecordMapper.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/StagingTableInputRecordMapper.cs index 0487d62db..35a46e783 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/StagingTableInputRecordMapper.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/StagingTableInputRecordMapper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Mapping +namespace LearningHub.Nhs.Migration.Mapping { using System; using System.Collections.Generic; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/StandardInputRecordMapper.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/StandardInputRecordMapper.cs index d182d190e..af0c1e0fe 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/StandardInputRecordMapper.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Mapping/StandardInputRecordMapper.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Mapping +namespace LearningHub.Nhs.Migration.Mapping { using System; using System.Collections.Generic; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Helpers/UrlChecker.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Helpers/UrlChecker.cs index 6bc780c2e..c303c981c 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Helpers/UrlChecker.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Helpers/UrlChecker.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation.Helpers +namespace LearningHub.Nhs.Migration.Validation.Helpers { using System; using System.Net; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/InputRecordModelValidatorBase.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/InputRecordModelValidatorBase.cs index da4d90f33..363717fbe 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/InputRecordModelValidatorBase.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/InputRecordModelValidatorBase.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation +namespace LearningHub.Nhs.Migration.Validation { using System.Collections.Generic; using FluentValidation; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/InputRecordValidatorFactory.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/InputRecordValidatorFactory.cs index c28623bba..97cbaaacd 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/InputRecordValidatorFactory.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/InputRecordValidatorFactory.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation +namespace LearningHub.Nhs.Migration.Validation { using System; using LearningHub.Nhs.Migration.Interface.Validation; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/AzureBlobFileValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/AzureBlobFileValidator.cs index 586a3cb8e..02e3d748c 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/AzureBlobFileValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/AzureBlobFileValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation.Rules +namespace LearningHub.Nhs.Migration.Validation.Rules { using System; using System.Threading.Tasks; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/CatalogueNameExistsValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/CatalogueNameExistsValidator.cs index 327749899..94dda6527 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/CatalogueNameExistsValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/CatalogueNameExistsValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation.Rules +namespace LearningHub.Nhs.Migration.Validation.Rules { using LearningHub.Nhs.Migration.Models; using LearningHub.Nhs.Repository.Interface.Hierarchy; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/EsrLinkValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/EsrLinkValidator.cs index 26a4ce16c..1b93de0ae 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/EsrLinkValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/EsrLinkValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation.Rules +namespace LearningHub.Nhs.Migration.Validation.Rules { using System.Collections.Generic; using LearningHub.Nhs.Migration.Models; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/FileExtensionIsAllowedValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/FileExtensionIsAllowedValidator.cs index 7a1546279..d9dcda61b 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/FileExtensionIsAllowedValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/FileExtensionIsAllowedValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation.Rules +namespace LearningHub.Nhs.Migration.Validation.Rules { using System.Collections.Generic; using System.IO; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/HtmlStringDeadLinkValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/HtmlStringDeadLinkValidator.cs index 2a5d5eef1..9c93a9cd4 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/HtmlStringDeadLinkValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/HtmlStringDeadLinkValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation.Rules +namespace LearningHub.Nhs.Migration.Validation.Rules { using System.Collections.Generic; using System.Linq; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UrlExistsValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UrlExistsValidator.cs index 9d7685dc2..fd7f7c7f0 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UrlExistsValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UrlExistsValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation.Rules +namespace LearningHub.Nhs.Migration.Validation.Rules { using LearningHub.Nhs.Migration.Models; using LearningHub.Nhs.Migration.Validation.Helpers; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UserIdExistsValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UserIdExistsValidator.cs index 0ae991ccf..c5d857283 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UserIdExistsValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UserIdExistsValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation.Rules +namespace LearningHub.Nhs.Migration.Validation.Rules { using LearningHub.Nhs.Migration.Models; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UserNameExistsValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UserNameExistsValidator.cs index d77e9a9d7..9f0a8354b 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UserNameExistsValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/Rules/UserNameExistsValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation.Rules +namespace LearningHub.Nhs.Migration.Validation.Rules { using LearningHub.Nhs.Migration.Models; using LearningHub.Nhs.Repository.Interface; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StagingTableInputRecordModelValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StagingTableInputRecordModelValidator.cs index d1babcc64..d07785c21 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StagingTableInputRecordModelValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StagingTableInputRecordModelValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation +namespace LearningHub.Nhs.Migration.Validation { using System; using System.Collections.Generic; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StagingTableInputRecordValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StagingTableInputRecordValidator.cs index 39038331a..b8cbc65ce 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StagingTableInputRecordValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StagingTableInputRecordValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation +namespace LearningHub.Nhs.Migration.Validation { using System; using System.Threading.Tasks; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StandardInputRecordModelValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StandardInputRecordModelValidator.cs index 1b89f4d84..2816bcedf 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StandardInputRecordModelValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StandardInputRecordModelValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation +namespace LearningHub.Nhs.Migration.Validation { using FluentValidation; using LearningHub.Nhs.Migration.Models; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StandardInputRecordValidator.cs b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StandardInputRecordValidator.cs index ab31a991b..3123b8efe 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StandardInputRecordValidator.cs +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/Validation/StandardInputRecordValidator.cs @@ -1,8 +1,4 @@ -// -// Copyright (c) HEE.nhs.uk. -// - -namespace LearningHub.Nhs.Migration.Validation +namespace LearningHub.Nhs.Migration.Validation { using System; using System.Threading.Tasks; diff --git a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/stylecop.json b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/stylecop.json index 3b460569b..4ba728b35 100644 --- a/WebAPI/MigrationTool/LearningHub.Nhs.Migration/stylecop.json +++ b/WebAPI/MigrationTool/LearningHub.Nhs.Migration/stylecop.json @@ -1,9 +1,3 @@ { "$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", - "settings": { - "documentationRules": { - "copyrightText": "Copyright (c) {companyName}.", - "companyName": "HEE.nhs.uk" - } - } } \ No newline at end of file
This resource will launch in a new window
Download:
- @GetFileExtension(resourceItem.GenericFileDetails.File.FileName) - @resourceItem.GenericFileDetails.File.FileName (@resourceItem.GenericFileDetails.File.FileSizeKb KB) -
You will be able to launch SCORM/AICC elearning resources on the Learning Hub in the future.
In the meantime you can download this and add it to another system that supports this type of resource.
- TBC -
+ @GetFileExtension(resourceItem.GenericFileDetails.File.FileName) + @resourceItem.GenericFileDetails.File.FileName (@resourceItem.GenericFileDetails.File.FileSizeKb KB) +