public List <dynamic> GetDevicesByFixedTime(int min, int max) { int statusId = statusDao.GetStatus(Status.VALUE.DEVICE_INACTIVE.ToString()).Id; return(deviceDao.GetDevicesByFixedTime(min, max, statusId)); }