Files
EstusShots-Net/EstusShots.Server/Mapping/Profiles.cs
2020-03-02 19:40:46 +01:00

20 lines
514 B
C#

using AutoMapper;
using EstusShots.Server.Models;
namespace EstusShots.Server.Mapping
{
public class Profiles : Profile
{
public Profiles()
{
CreateMap<Season, Shared.Dto.Season>();
CreateMap<Shared.Dto.Season, Season>();
CreateMap<Episode, Shared.Dto.Episode>();
CreateMap<Shared.Dto.Episode, Episode>();
CreateMap<Player, Shared.Dto.Player>();
CreateMap<Shared.Dto.Player, Player>();
}
}
}