From e5522ed559a276cf5133eaf5f50436cbab559c6f Mon Sep 17 00:00:00 2001 From: quentin Date: Mon, 20 May 2024 14:12:46 -0500 Subject: [PATCH] Code cleanup --- API/API.csproj | 2 +- API/Controllers/CRUDBase.cs | 2 +- API/DTO/Base/EventDTO.cs | 2 +- DAL/DAL.csproj | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/API/API.csproj b/API/API.csproj index a191653..77cbc70 100644 --- a/API/API.csproj +++ b/API/API.csproj @@ -12,7 +12,7 @@ - + diff --git a/API/Controllers/CRUDBase.cs b/API/Controllers/CRUDBase.cs index 2c299bb..dde143a 100644 --- a/API/Controllers/CRUDBase.cs +++ b/API/Controllers/CRUDBase.cs @@ -18,8 +18,8 @@ namespace API.Controllers where TService : ServiceBase { public readonly ILogger Logger; - public readonly UserService UserService; public readonly TService Service; + public readonly UserService UserService; public CRUDBase(ILogger logger, UserService userService, TService service) { diff --git a/API/DTO/Base/EventDTO.cs b/API/DTO/Base/EventDTO.cs index 2f04675..fc36c53 100644 --- a/API/DTO/Base/EventDTO.cs +++ b/API/DTO/Base/EventDTO.cs @@ -9,7 +9,7 @@ namespace API.DTO.Base public ulong savedEventId { get; set; } [MaxLength(64)] - public string? name { get; set; } = null!; + public string? name { get; set; } public ulong? bgColorId { get; set; } public ulong? fgColorId { get; set; } diff --git a/DAL/DAL.csproj b/DAL/DAL.csproj index 7383529..c5d09ce 100644 --- a/DAL/DAL.csproj +++ b/DAL/DAL.csproj @@ -7,12 +7,12 @@ - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + +