SES-91 Utworzenie modelu zwrotek AP oraz zajmowanie się domyślnymi exceptionami #22

Merged
s426135 merged 10 commits from SES-91 into master 2020-12-11 17:08:08 +01:00
3 changed files with 4 additions and 5 deletions
Showing only changes of commit 6131bbe706 - Show all commits

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>();
} }
} }
} }