public AuthController(IConfiguration config, ProdCodeDbContext db, IMapper mapper) { this._config = config; this.db = db; this.mapper = mapper; }
public ProductController(ProdCodeDbContext db, IMapper mapper, IProductService productService) { this.db = db; this.mapper = mapper; this.productService = productService; }
public UserService(ProdCodeDbContext db) { this.db = db; }
public ProductService(IConfiguration configuration, ProdCodeDbContext db) { this.configuration = configuration; this.db = db; }