New Type moved to different project and changed on of the profiles

This commit is contained in:
Łukasz Góreczny 2020-12-10 15:08:05 +01:00
parent bc6709e905
commit 6131bbe706
3 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,7 @@
namespace SessionCompanion.ApiReturn using System;
{
using System;
namespace SessionCompanion.Extensions.EitherType
{
public class Either<TL, TR> public class Either<TL, TR>
{ {
private readonly TL left; private readonly TL left;

View File

@ -11,8 +11,7 @@ namespace SessionCompanion.Services.Profiles
{ {
public UserProfile() public UserProfile()
{ {
CreateMap<UserViewModel, User>(); CreateMap<UserViewModel, User>().ReverseMap();
CreateMap<User, UserViewModel>();
} }
} }
} }