Commit du reste des profils
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
namespace Knots.DTO.Message;
|
||||
|
||||
public class UpdateMessageDto
|
||||
{
|
||||
public string? Contenu { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
}
|
||||
6
Knots/Endpoints/Role/DeleteRoleEndpoint.cs
Normal file
6
Knots/Endpoints/Role/DeleteRoleEndpoint.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Knots.Endpoints.Role;
|
||||
|
||||
public class DeleteRoleEndpoint
|
||||
{
|
||||
|
||||
}
|
||||
@@ -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<Key, GetKeyDetailsDto>();
|
||||
CreateMap<Key, CreateKeyDto>();
|
||||
CreateMap<CreateKeyDto, Key>();
|
||||
}
|
||||
}
|
||||
@@ -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<Message, GetMessageDetailsDto>();
|
||||
CreateMap<Message, CreateMessageDto>();
|
||||
CreateMap<CreateMessageDto, Message>();
|
||||
}
|
||||
}
|
||||
@@ -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<Role, GetRoleDto>();
|
||||
CreateMap<Role, CreateRoleDto>();
|
||||
CreateMap<CreateRoleDto, Role>();
|
||||
}
|
||||
}
|
||||
@@ -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<User, GetUserDetailsDto>();
|
||||
CreateMap<User, GetUserDto>();
|
||||
CreateMap<CreateUserDto, User>();
|
||||
CreateMap<UpdateUserDto, User>();
|
||||
CreateMap<UpdateUserContactDto, User>();
|
||||
CreateMap<UpdateUserDescriptionDto, User>();
|
||||
CreateMap<UpdateUsernameDto, User>();
|
||||
CreateMap<UpdateUserProfilePictureDto, User>();
|
||||
CreateMap<UpdateUserPasswordDto, User>();
|
||||
CreateMap<UpdateUserTelDto, User>();
|
||||
|
||||
CreateMap<User, UpdateUserContactDto>();
|
||||
CreateMap<User, UpdateUserDto>();
|
||||
CreateMap<User, UpdateUserDescriptionDto>();
|
||||
CreateMap<User, UpdateUserProfilePictureDto>();
|
||||
CreateMap<User, UpdateUserTelDto>();
|
||||
CreateMap<User, UpdateUserPasswordDto>();
|
||||
CreateMap<User, CreateUserDto>();
|
||||
}
|
||||
}
|
||||
@@ -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")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
ce77489fc5bddba93457372e1031d1ddc5cc689d0195da3b5fad5cf53b595b6e
|
||||
90acb1e49f12117818d98ae81eb2954f6e9b7aa37530698d570daa4a254b99a8
|
||||
|
||||
@@ -1 +1 @@
|
||||
17739351330127867
|
||||
17739351490327864
|
||||
Reference in New Issue
Block a user