private void GetReorderByItem(StockOutViewModel stockOutViewModel) { stockOutViewModel = stockOutManager.GetReorderByItem(stockOutViewModel); //availableQuantityTextBox.Text = stockInModel.AvailableQuantity.ToString(); if (stockOutViewModel == null) { reorderLevelTextBox.Text = "0"; } else { reorderLevelTextBox.Text = stockOutViewModel.ReorderLevel.ToString(); } }