Beispiel #1
0
 public AuthController(IConfiguration config, ProdCodeDbContext db, IMapper mapper)
 {
     this._config = config;
     this.db      = db;
     this.mapper  = mapper;
 }
Beispiel #2
0
 public ProductController(ProdCodeDbContext db, IMapper mapper, IProductService productService)
 {
     this.db             = db;
     this.mapper         = mapper;
     this.productService = productService;
 }
Beispiel #3
0
 public UserService(ProdCodeDbContext db)
 {
     this.db = db;
 }
Beispiel #4
0
 public ProductService(IConfiguration configuration, ProdCodeDbContext db)
 {
     this.configuration = configuration;
     this.db            = db;
 }