コード例 #1
0
ファイル: Team.cs プロジェクト: mdrobynin/ng2trello_backend
 public Team(SerTeam team)
 {
     Id             = team.Id;
     ParticipantIds = string.Join('#', team.ParticipantIds);
     Title          = team.Title;
     BoardIds       = string.Join('#', team.BoardIds);
 }
コード例 #2
0
 public void ChangeTeam(int id, SerTeam team)
 {
     _repository.ChangeTeam(id, new Team(team));
 }
コード例 #3
0
 public int AddTeam(SerTeam team)
 {
     return(_repository.AddTeam(new Team(team)));
 }