public ProductsController(ISimpleDbContext db)
 {
     _db = db;
 }
예제 #2
0
 public SampleDataSeeder(ISimpleDbContext context)
 {
     _context = context;
 }
예제 #3
0
 public SeedSampleDataCommandHandler(ISimpleDbContext context)
 {
     _context = context;
 }
예제 #4
0
 public DeleteTopicCommandHandler(ISimpleDbContext context)
 {
     _context = context;
 }
예제 #5
0
 public UpsertCategoryCommandHandler(ISimpleDbContext context)
 {
     _context = context;
 }
예제 #6
0
 public GetTopicsListQueryHandler(ISimpleDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #7
0
 public SampleLoginHandler(ISimpleDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 public GetCategoryDetailQueryHandler(ISimpleDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
예제 #9
0
 public UserAdminController(IOptions <AuthConfigSection> authConfig, ISimpleDbContext dbContext)
 {
     _allProviders = authConfig.Value.Providers.Select(p => p.Name).ToList();
     _dbContext    = dbContext;
 }
 public CustomersController(ISimpleDbContext db)
 {
     _db = db;
 }
 public GetCategoriesListQueryTests(QueryTestFixture fixture)
 {
     _context = fixture.Context;
     _mapper  = fixture.Mapper;
 }
 public TicketsController(ISimpleDbContext db)
 {
     _db = db;
 }
예제 #13
0
 public HomeController(ISimpleDbContext db)
 {
     _db = db;
     LogManager.ThrowExceptions = true;
     Logger = LogManager.GetCurrentClassLogger();
 }
 public DeleteCategoryCommandHandler(ISimpleDbContext context)
 {
     _context = context;
 }
예제 #15
0
 public DeleteContentCommandHandler(ISimpleDbContext context)
 {
     _context = context;
 }
예제 #16
0
 public UpsertTopicCommandHandler(ISimpleDbContext context)
 {
     _context = context;
 }