public AccountController(UserManager <User> userManager, JlsDbContext dbContext, IMapper mapper)
 {
     _mapper      = mapper;
     _userManager = userManager;
     db           = dbContext;
 }
示例#2
0
 public OrderRepository(JlsDbContext context, IConfiguration config)
 {
     this.context = context;
     _defaultLang = config.GetValue <string>("Lang:DefaultLang");
 }
 public ReferenceRepository(JlsDbContext context, IConfiguration config)
 {
     db           = context;
     _defaultLang = config.GetValue <string>("Lang:DefaultLang");
 }
 public ProductRepository(JlsDbContext context, IReferenceRepository referencRepository, IConfiguration config)
 {
     this.context        = context;
     _referencRepository = referencRepository;
     _defaultLang        = config.GetValue <string>("Lang:DefaultLang");
 }
 public ValuesController(JlsDbContext jlsDbContext)
 {
     db = jlsDbContext;
 }