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 > (); } } }