public int GetDeviceListCount(int roomId, string searchValue) { int statusId = statusDao.GetStatus(Status.VALUE.DEVICE_INACTIVE.ToString()).Id; return(deviceDao.GetDevicesCount(roomId, searchValue, statusId)); }