예제 #1
0
파일: Create.cshtml.cs 프로젝트: simon9k/T3
 public CreateModel(T3.Data.ApplicationDbContext context,
                    AppUserManager <AppUser> UserManager, ITenantResolver tenantResolver)
 {
     //_context = context;
     _CourseMgr  = new CourseManager(context, tenantResolver);
     userManager = UserManager;
 }
예제 #2
0
        public CreateModel(T3.Data.ApplicationDbContext context, ITenantResolver tenantResolver)
        {
            _tenantResolver = tenantResolver;
            _context        = context;

            //todo should jnject Tenant here
        }
예제 #3
0
 public EditModel(T3.Data.ApplicationDbContext context)
 {
     _context = context;
 }
예제 #4
0
 public DetailsModel(T3.Data.ApplicationDbContext context)
 {
     _context = context;
 }
예제 #5
0
파일: Index.cshtml.cs 프로젝트: simon9k/T3
 public IndexModel(T3.Data.ApplicationDbContext context)
 {
     _context = context;
 }
예제 #6
0
파일: Delete.cshtml.cs 프로젝트: simon9k/T3
 public DeleteModel(T3.Data.ApplicationDbContext context)
 {
     _context = context;
 }
예제 #7
0
파일: Index.cshtml.cs 프로젝트: simon9k/T3
 public IndexModel(T3.Data.ApplicationDbContext context, ITenantResolver tenantResolver)
 {
     //_context = context;
     _CourseMgr = new CourseManager(context, tenantResolver);
 }