예제 #1
0
 public static IEnumerable <UserDTO> MapUserToUserDTO(IEnumerable <User> users)
 {
     return(UserToUserDTOMapper.Map <IEnumerable <User>, IEnumerable <UserDTO> >(users));
 }
예제 #2
0
 public static UserDTO MapUserToUserDTO(User user)
 {
     return(UserToUserDTOMapper.Map <User, UserDTO>(user));
 }