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

15 lines
330 B
C#

using AutoMapper;
using SessionCompanion.Database.Tables;
using SessionCompanion.ViewModels.WeaponViewModels;
namespace SessionCompanion.Services.Profiles
{
public class WeaponProfile : Profile
{
public WeaponProfile()
{
CreateMap<WeaponViewModel, Weapon>().ReverseMap();
}
}
}