public AdminProductsViewer(Employee empl) { controller = new RepositoryController(); products = controller.GetAllProductsPosition(); employee = empl; InitializeComponent(); ProductsViewerTable.ItemsSource = products; }
public AdminProductsViewer(Employee empl) { controller = new RepositoryController(); products = controller.GetAllProductsPosition(); employee = empl; InitializeComponent(); ProductsViewerTable.ItemsSource = products; }