public IActionResult Delete(int id) { try { _service.Remove(id); return(new OkResult()); } catch (System.Exception) { return(NotFound()); } }