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

19 lines
477 B
C#
Raw Normal View History

2020-12-06 11:21:33 +01:00
using System;
using System.Collections.Generic;
using System.Text;
using AutoMapper;
using SessionCompanion.Database.Tables;
using SessionCompanion.ViewModels.ConstitutionViewModels;
namespace SessionCompanion.Services.Profiles
{
public class ConstitutionProfile : Profile
{
public ConstitutionProfile()
{
CreateMap<ConstitutionViewModel, Constitution>();
CreateMap<Constitution,ConstitutionViewModel > ();
}
}
}