public int AddRequest(Requests user) { int id = 0; try { id = _repository.AddRequest(user); } catch (Exception ex) { throw ex; } return(id); }