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