AutoMapperMapper.CreateMap<userEntity, userViewModel>(); var userVm = new userViewModel(); userVm = Mapper.Map<userViewModel>(user);
|
|
AutoMapperMapper.CreateMap<userEntity, userViewModel>(); var userVm = new userViewModel(); userVm = Mapper.Map<userViewModel>(user);
|
|