Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Configurations / Mapping / LanguageMappings.cs
blob: 9a394eb86e57e29e019c4421c5a2c43ce72709f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using AutoMapper;
using DevHive.Web.Models.Language;
using DevHive.Services.Models.Language;

namespace DevHive.Web.Configurations.Mapping
{
    public class LanguageMappings : Profile
	{
		public LanguageMappings()
		{
			CreateMap<CreateLanguageWebModel, LanguageServiceModel>();
			CreateMap<UpdateLanguageWebModel, LanguageServiceModel>();
		}
	} 
}