SES-91 Utworzenie modelu zwrotek AP oraz zajmowanie się domyślnymi exceptionami #22
@ -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;
|
@ -11,8 +11,7 @@ namespace SessionCompanion.Services.Profiles
|
|||||||
{
|
{
|
||||||
public UserProfile()
|
public UserProfile()
|
||||||
{
|
{
|
||||||
CreateMap<UserViewModel, User>();
|
CreateMap<UserViewModel, User>().ReverseMap();
|
||||||
CreateMap<User, UserViewModel>();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user