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

19 lines
420 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.RaceViewModels;
namespace SessionCompanion.Services.Profiles
{
public class RaceProfile : Profile
{
public RaceProfile()
{
CreateMap<Race, RaceViewModel>();
CreateMap<RaceViewModel, Race>();
}
}
}