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>
|
||||
{
|
||||
private readonly TL left;
|
@ -11,8 +11,7 @@ namespace SessionCompanion.Services.Profiles
|
||||
{
|
||||
public UserProfile()
|
||||
{
|
||||
CreateMap<UserViewModel, User>();
|
||||
CreateMap<User, UserViewModel>();
|
||||
CreateMap<UserViewModel, User>().ReverseMap();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user