public CreateModel(T3.Data.ApplicationDbContext context, AppUserManager <AppUser> UserManager, ITenantResolver tenantResolver) { //_context = context; _CourseMgr = new CourseManager(context, tenantResolver); userManager = UserManager; }
public CreateModel(T3.Data.ApplicationDbContext context, ITenantResolver tenantResolver) { _tenantResolver = tenantResolver; _context = context; //todo should jnject Tenant here }
public EditModel(T3.Data.ApplicationDbContext context) { _context = context; }
public DetailsModel(T3.Data.ApplicationDbContext context) { _context = context; }
public IndexModel(T3.Data.ApplicationDbContext context) { _context = context; }
public DeleteModel(T3.Data.ApplicationDbContext context) { _context = context; }
public IndexModel(T3.Data.ApplicationDbContext context, ITenantResolver tenantResolver) { //_context = context; _CourseMgr = new CourseManager(context, tenantResolver); }