Example #1
0
 public ProductService(productsEntities productContext)
 {
     this._productContext = productContext;
 }
Example #2
0
 public ProductRepository(productsEntities context)
 {
     this.context = context;
 }
Example #3
0
 /* To do: Investigate injecting context instead */
 public ProductService()
 {
     this._productContext = new productsEntities();
 }