initial commit
This commit is contained in:
15
CityInfo.API/Profiles/CityProfile.cs
Normal file
15
CityInfo.API/Profiles/CityProfile.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using AutoMapper;
|
||||
using CityInfo.API.Entities;
|
||||
using CityInfo.API.Models;
|
||||
|
||||
namespace CityInfo.API.Profiles
|
||||
{
|
||||
public class CityProfile: Profile
|
||||
{
|
||||
public CityProfile()
|
||||
{
|
||||
CreateMap<City, CityWithoutPointsOfInterestDto>();
|
||||
CreateMap<City, CityDto>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user