DB added and more
This commit is contained in:
15
TOOHUCardAPI/Data/AutomapProfile.cs
Normal file
15
TOOHUCardAPI/Data/AutomapProfile.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using AutoMapper;
|
||||
using TOOHUCardAPI.Data.Models;
|
||||
using TOOHUCardAPI.DTO;
|
||||
|
||||
namespace TOOHUCardAPI.Data
|
||||
{
|
||||
public class AutomapProfile : Profile
|
||||
{
|
||||
public AutomapProfile()
|
||||
{
|
||||
CreateMap<User, PlayerDataGetResponseObjectPlayer>();
|
||||
CreateMap<User, User>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user