public ProductsController(IProductServiceContext context) { db = context; }
/// <summary> /// /// </summary> /// <param name="context"></param> internal ProductService(IProductServiceContext context) { this.productServiceContext = context ?? throw new ArgumentNullException(nameof(context)); }