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