public int AddRequest(int userId, string requestDescription, int deviceId) { int statusRequestInitialId = statusDao.GetStatus(Status.VALUE.REQUEST_INITIAL.ToString()).Id; return(requestDao.AddRequest(userId, requestDescription, statusRequestInitialId, deviceId)); }
public void AddRequest(Request request) { _requestDao.AddRequest(request); }