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

19 lines
427 B
C#
Raw Permalink 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.ClassViewModels;
namespace SessionCompanion.Services.Profiles
{
public class ClassProfile : Profile
{
public ClassProfile()
{
CreateMap<ClassViewModel, Class>();
CreateMap<Class, ClassViewModel>();
}
}
}