Example #1
0
 public TeamModel UpdateTeam(TeamModel model)
 {
     return(_repo.UpdateTeam(model));
 }
Example #2
0
 public IActionResult UpdateTeam([FromBody] TeamModel team)
 {
     return(Ok(_service.UpdateTeam(team)));
 }
Example #3
0
 public TeamModel AddTeam(TeamModel model)
 {
     return(_repo.AddTeam(model));
 }
Example #4
0
 public IActionResult AddTeam([FromBody] TeamModel team)
 {
     return(Ok(_service.AddTeam(team)));
 }