using AutoMapper; using SessionCompanion.Database.Tables; using SessionCompanion.ViewModels.BackgroundViewModels; using System; using System.Collections.Generic; using System.Text; namespace SessionCompanion.Services.Profiles { public class BackgroundProfile : Profile { public BackgroundProfile() { CreateMap<BackgroundViewModel, Background>(); CreateMap<Background, BackgroundViewModel>(); } } }