Example #1
0
        private void fillUrunlerDataGrid(int id)
        {
            IWarehouseService warehouseService = IocUtil.Resolve <IWarehouseService>();

            UrunlerDataGrid.ItemsSource = warehouseService.GetProducts().Where(x => x.AssignedById == id);
        }
Example #2
0
        private void fillPersonalDataGrid(int id)
        {
            IPersonalService personalService = IocUtil.Resolve <IPersonalService>();

            PersonellerDataGrid.ItemsSource = personalService.GetList().Where(x => x.DepartmentId == id);
        }