public UsersController() { _identity = new ApplicationDbContext(); var store = new UserStore <ApplicationUser>(_identity); _userManager = new UserManager <ApplicationUser>(store); _context = new MyPortalDbContext(); }
public void Setup() { EffortProviderFactory.ResetDb(); Mapper.Reset(); _context = ContextControl.GetTestData(); ContextControl.InitialiseMaps(); _controller = new DocumentsController(_context); }
public CommentBanksController() { _context = new MyPortalDbContext(); }
public LogsController() { _context = new MyPortalDbContext(); }
public SubjectsController() { _context = new MyPortalDbContext(); }
public UserRepository(MyPortalDbContext context) => Context = context;
public BasketItemsController(MyPortalDbContext context) { _context = context; }
public ActiveGradeSet() { _context = new MyPortalDbContext(); }
public StudyTopicsController() { _context = new MyPortalDbContext(); }
public RegGroupsController(MyPortalDbContext context) { _context = context; }
public RegGroupsController() { _context = new MyPortalDbContext(); }
public DocumentsController(MyPortalDbContext context) { _context = context; }
public DocumentsController() { _context = new MyPortalDbContext(); }
public DashboardRepository(MyPortalDbContext context) => Context = context;
public CommentBanksController(MyPortalDbContext context) { _context = context; }
public ClientRepository(MyPortalDbContext context) => Context = context;
public TrainingCoursesController() { _context = new MyPortalDbContext(); }
public StudyTopicsController(MyPortalDbContext context) { _context = context; }
public BasketItemsController() { _context = new MyPortalDbContext(); }
public HomeController() { _context = new MyPortalDbContext(); }
public StudentsController() { _context = new MyPortalDbContext(); }
public SalesController() { _context = new MyPortalDbContext(); }
public StaffController() { _context = new MyPortalDbContext(); }
public LessonPlansController() { _context = new MyPortalDbContext(); }
public SubjectsController(MyPortalDbContext context) { _context = context; }
public LessonPlansController(MyPortalDbContext context) { _context = context; }
public LogsController(MyPortalDbContext context) { _context = context; }
public ResultSetsController() { _context = new MyPortalDbContext(); }
public ResultSetsController(MyPortalDbContext context) { _context = context; }
public FinanceController() { _context = new MyPortalDbContext(); }