From df6e559f006f05706fd56c688abf1721f8594ba7 Mon Sep 17 00:00:00 2001 From: oistig Date: Thu, 26 Mar 2026 15:23:53 +0100 Subject: [PATCH] Commit du reste des profils --- Knots/DTO/Message/UpdateMessageDto.cs | 7 ------ Knots/Endpoints/Role/DeleteRoleEndpoint.cs | 6 +++++ Knots/Profiles/KeyProfile.cs | 10 ++++++-- Knots/Profiles/MessageProfile.cs | 10 ++++++-- Knots/Profiles/RoleProfile.cs | 10 ++++++-- Knots/Profiles/UserProfile.cs | 25 +++++++++++++++++-- Knots/obj/Debug/net8.0/Knots.AssemblyInfo.cs | 2 +- .../net8.0/Knots.AssemblyInfoInputs.cache | 2 +- Knots/obj/rider.project.model.nuget.info | 2 +- 9 files changed, 56 insertions(+), 18 deletions(-) delete mode 100644 Knots/DTO/Message/UpdateMessageDto.cs create mode 100644 Knots/Endpoints/Role/DeleteRoleEndpoint.cs diff --git a/Knots/DTO/Message/UpdateMessageDto.cs b/Knots/DTO/Message/UpdateMessageDto.cs deleted file mode 100644 index 4fbabda..0000000 --- a/Knots/DTO/Message/UpdateMessageDto.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Knots.DTO.Message; - -public class UpdateMessageDto -{ - public string? Contenu { get; set; } - public DateTime Date { get; set; } -} \ No newline at end of file diff --git a/Knots/Endpoints/Role/DeleteRoleEndpoint.cs b/Knots/Endpoints/Role/DeleteRoleEndpoint.cs new file mode 100644 index 0000000..ce3976d --- /dev/null +++ b/Knots/Endpoints/Role/DeleteRoleEndpoint.cs @@ -0,0 +1,6 @@ +namespace Knots.Endpoints.Role; + +public class DeleteRoleEndpoint +{ + +} \ No newline at end of file diff --git a/Knots/Profiles/KeyProfile.cs b/Knots/Profiles/KeyProfile.cs index f17accf..447a1bf 100644 --- a/Knots/Profiles/KeyProfile.cs +++ b/Knots/Profiles/KeyProfile.cs @@ -1,10 +1,16 @@ using AutoMapper; using Knots.DTO.Discussion; +using Knots.DTO.Key; using Knots.Models; namespace Knots.Profiles; -public class KeyProfile +public class KeyProfile : Profile { - + public KeyProfile() + { + CreateMap(); + CreateMap(); + CreateMap(); + } } \ No newline at end of file diff --git a/Knots/Profiles/MessageProfile.cs b/Knots/Profiles/MessageProfile.cs index 4917c51..9aef675 100644 --- a/Knots/Profiles/MessageProfile.cs +++ b/Knots/Profiles/MessageProfile.cs @@ -1,10 +1,16 @@ using AutoMapper; using Knots.DTO.Discussion; +using Knots.DTO.Message; using Knots.Models; namespace Knots.Profiles; -public class MessageProfile +public class MessageProfile : Profile { - + MessageProfile() + { + CreateMap(); + CreateMap(); + CreateMap(); + } } \ No newline at end of file diff --git a/Knots/Profiles/RoleProfile.cs b/Knots/Profiles/RoleProfile.cs index 6c513fe..9d319ca 100644 --- a/Knots/Profiles/RoleProfile.cs +++ b/Knots/Profiles/RoleProfile.cs @@ -1,10 +1,16 @@ using AutoMapper; using Knots.DTO.Discussion; +using Knots.DTO.Role; using Knots.Models; namespace Knots.Profiles; -public class RoleProfile +public class RoleProfile : Profile { - + public RoleProfile() + { + CreateMap(); + CreateMap(); + CreateMap(); + } } \ No newline at end of file diff --git a/Knots/Profiles/UserProfile.cs b/Knots/Profiles/UserProfile.cs index 360b8c7..99074fb 100644 --- a/Knots/Profiles/UserProfile.cs +++ b/Knots/Profiles/UserProfile.cs @@ -1,10 +1,31 @@ using AutoMapper; using Knots.DTO.Discussion; +using Knots.DTO.User; using Knots.Models; namespace Knots.Profiles; -public class UserProfile +public class UserProfile : Profile { - + UserProfile() + { + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + CreateMap(); + } } \ No newline at end of file diff --git a/Knots/obj/Debug/net8.0/Knots.AssemblyInfo.cs b/Knots/obj/Debug/net8.0/Knots.AssemblyInfo.cs index 0df0fa7..e7f507b 100644 --- a/Knots/obj/Debug/net8.0/Knots.AssemblyInfo.cs +++ b/Knots/obj/Debug/net8.0/Knots.AssemblyInfo.cs @@ -13,7 +13,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("Knots")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+3699b28e03bb75e96f4cd7cb2cfce03ad66bb13a")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1c1f9b2fcc64b251114134d09bc5a5468d888efe")] [assembly: System.Reflection.AssemblyProductAttribute("Knots")] [assembly: System.Reflection.AssemblyTitleAttribute("Knots")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/Knots/obj/Debug/net8.0/Knots.AssemblyInfoInputs.cache b/Knots/obj/Debug/net8.0/Knots.AssemblyInfoInputs.cache index 5dd81cf..dbb5550 100644 --- a/Knots/obj/Debug/net8.0/Knots.AssemblyInfoInputs.cache +++ b/Knots/obj/Debug/net8.0/Knots.AssemblyInfoInputs.cache @@ -1 +1 @@ -ce77489fc5bddba93457372e1031d1ddc5cc689d0195da3b5fad5cf53b595b6e +90acb1e49f12117818d98ae81eb2954f6e9b7aa37530698d570daa4a254b99a8 diff --git a/Knots/obj/rider.project.model.nuget.info b/Knots/obj/rider.project.model.nuget.info index 2bbc7fd..1af808b 100644 --- a/Knots/obj/rider.project.model.nuget.info +++ b/Knots/obj/rider.project.model.nuget.info @@ -1 +1 @@ -17739351330127867 \ No newline at end of file +17739351490327864 \ No newline at end of file