public static void SetProductLine(IProductLine aProductLine) // This provides a seam in the factory where I can prime the factory with the ProductLine it will then produce. (for test code) { ProductLine = aProductLine; }
public bool updateProductLine(IProductLine productLine) { DataLayer.editProductLineInDB(productLine); return(true); }