private void ProcessDevice(dynamic deviceDescriptor) { Console.WriteLine("processing device " + deviceDescriptor.DeviceMacAddress); var pageCount = dal.GetRulePageCount(); for (var page = 0; page < pageCount; page++) { ProcessPageWithRules(dal.GetRules(page), deviceDescriptor); } }
protected virtual CommandProcessorResponse <Rule[]> GetRules(int PageNumber) { return(WrapResponse(dal.GetRules(PageNumber))); }