示例#1
0
 public Device GetDevice(int deviceId, bool checkPublished = false, bool published = true)
 {
     return(_dao.GetDevice(deviceId, checkPublished, published));
 }
示例#2
0
        public Device GetDevice(int deviceId)
        {
            int statusId = statusDao.GetStatus(Status.VALUE.DEVICE_INACTIVE.ToString()).Id;

            return(deviceDao.GetDevice(deviceId, statusId));
        }