using System; using System.Collections.Generic; using System.Text; using AutoMapper; using SessionCompanion.Database.Tables; using SessionCompanion.ViewModels.RaceViewModels; namespace SessionCompanion.Services.Profiles { public class RaceProfile : Profile { public RaceProfile() { CreateMap<Race, RaceViewModel>(); CreateMap<RaceViewModel, Race>(); } } }