aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Configurations/Mapping/UserMappings.cs
blob: 2964a0015e5f2a6e04be67883eb4b8a2188b0131 (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<LoginWebModel, LoginServiceModel>();
			CreateMap<UpdateUserWebModel, UpdateUserServiceModel>();
		}
	} 
}