public static int GetReplenishmentSuggestion(int pzn) { using (PharmacyContainer db = new PharmacyContainer()) { Drug drug = GetDrug(pzn, db); Int32 quantityPending = GetQuantityPending(drug, db); return(drug.ReplenishmentSuggestion(quantityPending)); } }