/// <summary> /// Go to the page to update stock of element /// </summary> /// <returns></returns> private async Task GoToUpdateStock() { UpdateStockWindow page = new UpdateStockWindow(UserServices, AlertServices, MaterialServices, ProductServices, MaterialsProductServices, SaleServices, await ProductServices.GetAll(), await MaterialServices.GetAll()); page.Show(); CurrentPage.Close(); }
void OnOpenEditStockWindow(object sender, EditStockViewModel e) { var updateStockWindow = new UpdateStockWindow(e); updateStockWindow.Show(); }
void OnOpenEditStockWindow(object sender, EditStockViewModel e) { var updateStockWindow = new UpdateStockWindow(e); updateStockWindow.Show(); }