예제 #1
0
        public void GetData(OfficesAdminReportViewOptions options)
        {
            DataTable = OfficesAdminReportView.GetData(options);

            // Get the OfficesAllIdentified row(s) and make a dictionary of
            // only the true values
            var table = options.OfficeClass == OfficeClass.All
        ? OfficesAllIdentified.GetDataByStateCode(options.StateCode)
        : OfficesAllIdentified.GetData(options.StateCode, options.OfficeClass.ToInt());

            _AllIdentifiedDictionary = table.Where(row => row.IsOfficesAllIdentified)
                                       .ToDictionary(row => row.OfficeLevel.ToOfficeClass(), row => null as object);
        }
예제 #2
0
 public void GetData(OfficesAdminReportViewOptions options)
 {
     DataTable = OfficesAdminReportView.GetData(options);
 }