Пример #1
0
 public ActionResult DeleteComm(int commId)
 {
     try
     {
         _commService.DeleteComm(commId);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(BadRequest(ex));
     }
 }
Пример #2
0
 public IActionResult Delete(int id)
 {
     _service.DeleteComm(id);
     return(Ok());
 }