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 <int> GetPageCount() { return(WrapResponse(dal.GetRulePageCount())); }