예제 #1
0
 public UsersRepository(SberDbContext context)
 {
     _context = context;
 }
 public SeedDatabase(SberDbContext dbContext, IOptions <SeedDataOptions> optinos)
 {
     this.dbContext = dbContext;
     this.optinos   = optinos;
 }
예제 #3
0
 public CommentsController(SberDbContext dbContext, IMapper mapper)
 {
     this.dbContext = dbContext;
     this.mapper    = mapper;
 }
 public TagsController(SberDbContext context)
 {
     _context = context;
 }
 public TeacherInstructionsController(SberDbContext context, IMapper mapper)
 {
     dbContext   = context;
     this.mapper = mapper;
 }
 public ApplyMigration(SberDbContext sberDbContext)
 {
     this.sberDbContext = sberDbContext;
 }
예제 #7
0
 public ModulesController(SberDbContext context, IMapper mapper)
 {
     dbContext   = context;
     this.mapper = mapper;
 }
 public CreateUserCommandHandler(SberDbContext context)
 {
     _context = context;
 }