Beispiel #1
0
 public LectionsController(ILectionsService lectionsService, IMyCoursesService myCoursesService, UserManager <ApplicationUser> userManager, ICoursesService coursesService)
 {
     this.lectionsService  = lectionsService;
     this.myCoursesService = myCoursesService;
     this.userManager      = userManager;
     this.coursesService   = coursesService;
 }
Beispiel #2
0
 public HomeController(ICategoriesService categoriesService, ICoursesService coursesService, IDistributedCache distributedCache, IMyCoursesService myCoursesService, UserManager <ApplicationUser> userManager)
 {
     this.categoriesService = categoriesService;
     this.coursesService    = coursesService;
     this.distributedCache  = distributedCache;
     this.myCoursesService  = myCoursesService;
     this.userManager       = userManager;
 }
 public MyCoursesController(IMyCoursesService myCourseService, UserManager <ApplicationUser> userManager, ICoursesService coursesService)
 {
     this.myCourseService = myCourseService;
     this.userManager     = userManager;
     this.coursesService  = coursesService;
 }