示例#1
0
        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));
        }
示例#2
0
 public void AddRequest(Request request)
 {
     _requestDao.AddRequest(request);
 }