15 lines
372 B
C#
15 lines
372 B
C#
namespace DamageAssesment.Api.UsersAccess.Profiles
|
|
{
|
|
public class UsersAccessProfile : AutoMapper.Profile
|
|
{
|
|
public UsersAccessProfile()
|
|
{
|
|
CreateMap<Db.User, Models.User>();
|
|
CreateMap<Models.User, Db.User>();
|
|
|
|
CreateMap<Db.Role, Models.Role>();
|
|
CreateMap<Models.Role, Db.Role>();
|
|
}
|
|
}
|
|
}
|