public Recipe(string pName, string pType) { name = pName; type = pType; ProductDocumationAccess p = new ProductDocumationAccess(); IList = p.GetIngredients(pName); CalculateUse(p.GetAmoughtIngredients(pType)); }
public void GetSizeCost(string pType) { ProductDocumationAccess p = new ProductDocumationAccess(); sizeCost = p.GetProductSizeCost(pType); }