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

namespace DevHive.Web.Configurations.Mapping
{
	public class RatingMappings : Profile
	{
		public RatingMappings()
		{
			CreateMap<CreateRatingWebModel, CreateRatingServiceModel>();

			CreateMap<ReadRatingServiceModel, ReadRatingWebModel>();
		}
	}
}