public IBOAlphabeticalListOfProducts BOAlphabeticalListOfProducts(IAlphabeticalListOfProductsRepository repo) { BOAlphabeticalListOfProducts boAlphabeticalListOfProducts = (BOAlphabeticalListOfProducts)BOAlphabeticalListOfProducts(); boAlphabeticalListOfProducts.Repository = repo; return(boAlphabeticalListOfProducts); }
public IBOAlphabeticalListOfProducts BOAlphabeticalListOfProducts() { var boAlphabeticalListOfProducts = new BOAlphabeticalListOfProducts() { ProductID = this.ProductID, ProductName = this.ProductName, SupplierID = this.SupplierID, CategoryID = this.CategoryID, QuantityPerUnit = this.QuantityPerUnit, UnitPrice = this.UnitPrice, UnitsInStock = this.UnitsInStock, UnitsOnOrder = this.UnitsOnOrder, ReorderLevel = this.ReorderLevel, Discontinued = this.Discontinued, CategoryName = this.CategoryName }; return(boAlphabeticalListOfProducts); }