Пример #1
0
        public ChartFilteringDTO FilteringByAttributes()
        {
            List <Supplier>   suppliers        = (List <Supplier>)supplierRepo.FindAll();
            List <Stationery> stationeries     = (List <Stationery>)stationeryRepo.FindAll();
            List <Category>   categories       = (List <Category>)categoryRepo.FindAll();
            List <Department> departments      = (List <Department>)departmentRepo.FindAll();
            ChartFilteringDTO FilteringDetails = new ChartFilteringDTO()
            {
                SupplierForChartList   = suppliers,
                StationeryForChartList = stationeries,
                CategoryForChartList   = categories,
                DepartmentForChartList = departments,
            };

            return(FilteringDetails);
        }