public int DeleteRequest(int?RequestId) { int id = 0; try { id = _repository.DeleteRequest(RequestId); } catch (Exception ex) { throw ex; } return(id); }