You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
500 B

using api.Dtos;
using api.Models;
using AutoMapper;
namespace api.Helpers
{
public class AutoMapperProfiles: Profile
{
public AutoMapperProfiles()
{
CreateMap<UserForRegisterDto,User>();
CreateMap<User,UserForListDto>();
CreateMap<User, UserForDetailedDto>();
CreateMap<Photo,PhotosForDetailedDto>();
CreateMap<UserForUpdateDto,User>();
CreateMap<Team,TeamToReturn>();
}
}
}