public static IEnumerable <UserDTO> MapUserToUserDTO(IEnumerable <User> users) { return(UserToUserDTOMapper.Map <IEnumerable <User>, IEnumerable <UserDTO> >(users)); }
public static UserDTO MapUserToUserDTO(User user) { return(UserToUserDTOMapper.Map <User, UserDTO>(user)); }