public void MapFromDtoToTeam(TeamDto dto, Team team) { team.Name = dto.Name; }
public TeamDto FromTeamToDto(Team team) { TeamDto dto = SetTeamToDto(team); return(dto); }
/// <summary> /// MapFromTeamTpDto new team based on dto /// </summary> /// <param name="dto"></param> /// <returns></returns> public Team CreateNewTeam(TeamBindingModel dto) { Team team = new Team(dto.Name); return(team); }