public ActionResult DeleteComm(int commId) { try { _commService.DeleteComm(commId); return(Ok()); } catch (Exception ex) { return(BadRequest(ex)); } }
public IActionResult Delete(int id) { _service.DeleteComm(id); return(Ok()); }