Code cleanup (bis)

This commit is contained in:
Geoffroy BONNEVILLE
2020-04-08 16:23:15 +02:00
parent d1047a92ba
commit 1046110dd2
5 changed files with 21 additions and 56 deletions

View File

@@ -7,12 +7,6 @@ namespace ModernKeePass.Infrastructure.KeePass
public class GroupMappingProfile : Profile
{
public GroupMappingProfile()
{
FromModelToDto();
FromDtoToModel();
}
private void FromDtoToModel()
{
CreateMap<PwGroup, GroupEntity>()
.ForMember(d => d.ParentId, opts => opts.MapFrom(s => s.ParentGroup.Uuid.ToHexString()))
@@ -25,9 +19,5 @@ namespace ModernKeePass.Infrastructure.KeePass
.ForMember(d => d.SubGroups, opts => opts.MapFrom(s => s.Groups))
.MaxDepth(2);
}
private void FromModelToDto()
{
}
}
}