public ProductService(PurchaseDbContext context, IHttpClientFactory clientFactory, IConfiguration config, ILogger <ProductService> logger)
 {
     _context       = context;
     _clientFactory = clientFactory;
     _config        = config;
     _logger        = logger;
 }
 public CategoryRepository(PurchaseDbContext purchaseContext)
     : base(purchaseContext)
 {
 }
 public PurchaseRepository(PurchaseDbContext purchaseContext)
     : base(purchaseContext)
 {
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="context"></param>
 public PurchaseRepository(PurchaseDbContext context)
 {
     this.context = context;
 }
 public RepositoryBase(PurchaseDbContext purchaseContext)
 {
     _purchaseContext = purchaseContext;
 }
Example #6
0
 public RepositoryManager(PurchaseDbContext purchaseContext)
 {
     _purchaseContext = purchaseContext;
 }