trying to merge identity in api

This commit is contained in:
Michele 2020-11-11 01:25:25 +00:00
parent 9d4fd1e6c0
commit 5f6095f3ef
39 changed files with 868 additions and 282 deletions

View file

@ -0,0 +1,16 @@
using AutoMapper;
using Sledgemapper.Entities;
using Sledgemapper.Models.Users;
namespace Sledgemapper.Helpers
{
public class AutoMapperProfile : Profile
{
public AutoMapperProfile()
{
CreateMap<User, UserModel>();
CreateMap<RegisterModel, User>();
CreateMap<UpdateModel, User>();
}
}
}