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

namespace DevHive.Web.Configurations.Mapping
{
	public class UserMappings : Profile
	{
		public UserMappings()
		{
			CreateMap<UserServiceModel, User>();
			CreateMap<RegisterServiceModel, User>();
			CreateMap<UpdateUserServiceModel, User>();
		}
	} 
}