aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Configurations/Mapping/UserMappings.cs
blob: 49f03486fdf6d50ce6e65839cba9fbfd1f928b5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using DevHive.Data.Models;
using AutoMapper;
using DevHive.Services.Models.Identity.User;
using DevHive.Web.Models.Identity.User;

namespace DevHive.Web.Configurations.Mapping
{
	public class UserMappings : Profile
	{
		public UserMappings()
		{
			CreateMap<LoginWebModel, LoginServiceModel>();
			CreateMap<RegisterWebModel, RegisterServiceModel>();
			CreateMap<UpdateUserWebModel, UpdateUserServiceModel>();
		}
	} 
}