session-companion/SessionCompanion/SessionCompanion.Services/Profiles/MonsterProfile.cs

15 lines
339 B
C#

using AutoMapper;
using SessionCompanion.Database.Tables;
namespace SessionCompanion.Services.Profiles
{
using SessionCompanion.ViewModels.MonsterViewModels;
public class MonsterProfile : Profile
{
public MonsterProfile()
{
CreateMap<MonsterViewModel, Monster>().ReverseMap();
}
}
}