public ActionResult Delete(int id) { try { var sucess = OperationBase.Delete(id); return(Ok(sucess)); } catch (Exception e) { return(StatusCode(StatusCodes.Status500InternalServerError, e)); } }