public List <dynamic> GetDevicesByStatus(string fromDate, string toDate, bool status) { int statusId = statusDao.GetStatus(Status.VALUE.DEVICE_INACTIVE.ToString()).Id; return(deviceDao.GetDevicesByStatus(status, fromDate, toDate, statusId)); }