Пример #1
0
 public IActionResult DeleteAgent(int agentId)
 {
     try
     {
         serviceAgent.DeleteAgent(agentId);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }