using System; using System.Collections.Generic; using System.Text; using AutoMapper; using SessionCompanion.Database.Tables; using SessionCompanion.ViewModels.ClassViewModels; namespace SessionCompanion.Services.Profiles { public class ClassProfile : Profile { public ClassProfile() { CreateMap<ClassViewModel, Class>(); CreateMap<Class, ClassViewModel>(); } } }