コード例 #1
0
 public Device GetDevice(int deviceId, bool checkPublished = false, bool published = true)
 {
     return(_dao.GetDevice(deviceId, checkPublished, published));
 }
コード例 #2
0
ファイル: Service.cs プロジェクト: rybiu/DeviceManagement
        public Device GetDevice(int deviceId)
        {
            int statusId = statusDao.GetStatus(Status.VALUE.DEVICE_INACTIVE.ToString()).Id;

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