Exemplo n.º 1
0
        public UsersController()
        {
            _identity = new ApplicationDbContext();
            var store = new UserStore <ApplicationUser>(_identity);

            _userManager = new UserManager <ApplicationUser>(store);
            _context     = new MyPortalDbContext();
        }
Exemplo n.º 2
0
        public void Setup()
        {
            EffortProviderFactory.ResetDb();

            Mapper.Reset();
            _context = ContextControl.GetTestData();
            ContextControl.InitialiseMaps();

            _controller = new DocumentsController(_context);
        }
Exemplo n.º 3
0
 public CommentBanksController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 4
0
 public LogsController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 5
0
 public SubjectsController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 6
0
 public UserRepository(MyPortalDbContext context) => Context = context;
Exemplo n.º 7
0
 public BasketItemsController(MyPortalDbContext context)
 {
     _context = context;
 }
Exemplo n.º 8
0
 public ActiveGradeSet()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 9
0
 public StudyTopicsController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 10
0
 public RegGroupsController(MyPortalDbContext context)
 {
     _context = context;
 }
Exemplo n.º 11
0
 public RegGroupsController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 12
0
 public DocumentsController(MyPortalDbContext context)
 {
     _context = context;
 }
Exemplo n.º 13
0
 public DocumentsController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 14
0
 public DashboardRepository(MyPortalDbContext context) => Context = context;
Exemplo n.º 15
0
 public CommentBanksController(MyPortalDbContext context)
 {
     _context = context;
 }
Exemplo n.º 16
0
 public ClientRepository(MyPortalDbContext context) => Context = context;
Exemplo n.º 17
0
 public TrainingCoursesController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 18
0
 public StudyTopicsController(MyPortalDbContext context)
 {
     _context = context;
 }
Exemplo n.º 19
0
 public BasketItemsController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 20
0
 public HomeController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 21
0
 public StudentsController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 22
0
 public SalesController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 23
0
 public StaffController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 24
0
 public LessonPlansController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 25
0
 public SubjectsController(MyPortalDbContext context)
 {
     _context = context;
 }
Exemplo n.º 26
0
 public LessonPlansController(MyPortalDbContext context)
 {
     _context = context;
 }
Exemplo n.º 27
0
 public LogsController(MyPortalDbContext context)
 {
     _context = context;
 }
Exemplo n.º 28
0
 public ResultSetsController()
 {
     _context = new MyPortalDbContext();
 }
Exemplo n.º 29
0
 public ResultSetsController(MyPortalDbContext context)
 {
     _context = context;
 }
Exemplo n.º 30
0
 public FinanceController()
 {
     _context = new MyPortalDbContext();
 }