Exemple #1
0
 private IActionResult TryToUpdate(TeamDTO team)
 {
     try
     {
         teamServices.UpdateTeam(team);
         return(Ok());
     }
     catch (ServicesException e)
     {
         return(BadRequest(e.Message));
     }
 }