Separated app into three layers, cleaned up leftovers
This commit is contained in:
13
Birdmap/MapperProfiles/BirdmapProfile.cs
Normal file
13
Birdmap/MapperProfiles/BirdmapProfile.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using AutoMapper;
|
||||
using Birdmap.DAL.Entities;
|
||||
|
||||
namespace Birdmap.API.MapperProfiles
|
||||
{
|
||||
public class BirdmapProfile : Profile
|
||||
{
|
||||
public BirdmapProfile()
|
||||
{
|
||||
CreateMap<User, DTOs.AuthenticateResponse>().ReverseMap();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user