public bool UpdateDevTeamById(int devTeamId, DevTeam updatedTeam) { var originalDevTeam = GetDevTeamById(devTeamId); // Don't want the TeamId to be able to be changed once set if (originalDevTeam != null) { originalDevTeam.TeamName = updatedTeam.TeamName; originalDevTeam.Devs = originalDevTeam.Devs; return(true); } else { return(false); } }
public void CreateDevTeam(DevTeam devTeam) { _devTeams.Add(devTeam); }