コード例 #1
0
 public HomeController(ILogger <HomeController> logger, UserManager <Account> userManager,
                       EducationPortalContext db)
 {
     this.userManager = userManager;
     this.logger      = logger;
     this.db          = db;
 }
コード例 #2
0
        public UserInterface(IRegistrationService registrationService,
                             IAuthorisationService authorizationService,

                             IMaterialInputService materialInputService,
                             ICourseInputService courseInputService,
                             ISkillInputService skillInputService,
                             IUserInfoInputService userInfoInputService,

                             IMaterialService materialService,
                             ICourseService courseService,
                             ISkillService skillService,

                             EducationPortalContext context,
                             Session session)
        {
            this.registrationService  = registrationService;
            this.authorizationService = authorizationService;

            this.materialService = materialService;
            this.courseService   = courseService;
            this.skillService    = skillService;

            this.materialInputService = materialInputService;
            this.courseInputService   = courseInputService;
            this.skillInputService    = skillInputService;
            this.userInfoInputService = userInfoInputService;

            this.context = context;
            this.session = session;
        }
コード例 #3
0
 public ProfileController(UserManager <Account> userManager, EducationPortalContext db)
 {
     this.userManager = userManager;
     this.db          = db;
 }
コード例 #4
0
 public CourseController(EducationPortalContext context, SignInManager <Account> signInManager)
 {
     this.signInManager = signInManager;
     this.context       = context;
 }
コード例 #5
0
 public SkillRepository(EducationPortalContext context) : base(context)
 {
     this.context = context;
 }
コード例 #6
0
 public BaseRepository(EducationPortalContext context)
 {
     this.context = context;
 }