/// <summary> /// Initialize comment controller /// </summary> /// <param name="classCalendarRepo">Class calendar repository</param> /// <param name="userprofileRepo">UserProfile repository</param> /// <param name="userActivityRepo">User activity repository</param> /// <param name="classRoomRepo">Class room repository</param> /// <param name="studentKeyRepo">Student key repository</param> /// <param name="lessonCatalogRepo">Lesson catalog repository</param> /// <param name="contractRepo">Contract repository</param> /// <param name="likeCommentRepo">Like comment repository</param> /// <param name="likeDiscussionRepo">Like discussion repository</param> /// <param name="likeLessonRepo">Like lesson repository</param> /// <param name="courseCatalogRepo">Course catalog repository</param> public MyCourseController(IClassCalendarRepository classCalendarRepo, IUserProfileRepository userprofileRepo, IUserActivityRepository userActivityRepo, IClassRoomRepository classRoomRepo, IStudentKeyRepository studentKeyRepo, ILessonCatalogRepository lessonCatalogRepo, ILikeLessonRepository likeLessonRepo, ILikeCommentRepository likeCommentRepo, ILikeDiscussionRepository likeDiscussionRepo, IContractRepository contractRepo, ICourseCatalogRepository courseCatalogRepo, ILoggerFactory loggerFactory, IDateTime dateTime) { _classCalendarRepo = classCalendarRepo; _userprofileRepo = userprofileRepo; _userActivityRepo = userActivityRepo; _classRoomRepo = classRoomRepo; _studentKeyRepo = studentKeyRepo; _lessonCatalogRepo = lessonCatalogRepo; _likeLessonRepo = likeLessonRepo; _likeCommentRepo = likeCommentRepo; _likeDiscussionRepo = likeDiscussionRepo; _contractRepo = contractRepo; _courseCatalogRepo = courseCatalogRepo; _logger = loggerFactory.CreateLogger<MyCourseController>(); _dateTime = dateTime; }
/// <summary> /// Initialize discussion controller /// </summary> /// <param name="classCalendarRepo">Class calendar repository</param> /// <param name="userprofileRepo">UserProfile repository</param> /// <param name="commentRepo">Comment repository</param> /// <param name="userActivityRepo">User activity repository</param> /// <param name="likeDiscussionRepo">Like discussion repository</param> public DiscussionController(IClassCalendarRepository classCalendarRepo, IUserProfileRepository userprofileRepo, ICommentRepository commentRepo, IUserActivityRepository userActivityRepo, ILikeDiscussionRepository likeDiscussionRepo, IDateTime dateTime) { _classCalendarRepo = classCalendarRepo; _userprofileRepo = userprofileRepo; _commentRepo = commentRepo; _userActivityRepo = userActivityRepo; _likeDiscussionRepo = likeDiscussionRepo; _dateTime = dateTime; }
/// <summary> /// Initialize discussion controller /// </summary> /// <param name="classCalendarRepo">Class calendar repository</param> /// <param name="userprofileRepo">UserProfile repository</param> /// <param name="commentRepo">Comment repository</param> /// <param name="userActivityRepo">User activity repository</param> /// <param name="likeDiscussionRepo">Like discussion repository</param> /// <param name="notificationCtrl">Notification API</param> public DiscussionController(IClassCalendarRepository classCalendarRepo, IUserProfileRepository userprofileRepo, ICommentRepository commentRepo, IUserActivityRepository userActivityRepo, ILikeDiscussionRepository likeDiscussionRepo, NotificationController notificationCtrl, IDateTime dateTime) { _classCalendarRepo = classCalendarRepo; _userprofileRepo = userprofileRepo; _commentRepo = commentRepo; _userActivityRepo = userActivityRepo; _likeDiscussionRepo = likeDiscussionRepo; _dateTime = dateTime; _notificationCtrl = notificationCtrl; }
/// <summary> /// Initialize Notification API /// </summary> /// <param name="userprofileRepo">User profile repository</param> /// <param name="notificationRepo">Notification repository</param> /// <param name="commentRepo">Comment repository</param> /// <param name="likeCommentRepo">Like comment repository</param> /// <param name="likeDiscussionRepo">Like discussion repository</param> /// <param name="likeLessonRepo">Like lesson repository</param> /// <param name="classCalendarRepo">Class calendar repository</param> /// <param name="friendRequestRepo">Friend request repository</param> public NotificationController(IUserProfileRepository userprofileRepo, INotificationRepository notificationRepo, ILikeLessonRepository likeLessonRepo, ILikeCommentRepository likeCommentRepo, ILikeDiscussionRepository likeDiscussionRepo, ICommentRepository commentRepo, IClassCalendarRepository classCalendarRepo, IFriendRequestRepository friendRequestRepo, IDateTime dateTime) { _userProfileRepo = userprofileRepo; _notificationRepo = notificationRepo; _likeCommentRepo = likeCommentRepo; _likeDiscussionRepo = likeDiscussionRepo; _likeLessonRepo = likeLessonRepo; _commentRepo = commentRepo; _classCalendarRepo = classCalendarRepo; _friendRequestRepo = friendRequestRepo; _dateTime = dateTime; }
/// <summary> /// Initialize Notification API /// </summary> /// <param name="userprofileRepo">User profile repository</param> /// <param name="notificationRepo">Notification repository</param> /// <param name="commentRepo">Comment repository</param> /// <param name="likeCommentRepo">Like comment repository</param> /// <param name="likeDiscussionRepo">Like discussion repository</param> /// <param name="likeLessonRepo">Like lesson repository</param> /// <param name="classCalendarRepo">Class calendar repository</param> /// <param name="friendRequestRepo">Friend request repository</param> public NotificationController(IUserProfileRepository userprofileRepo, INotificationRepository notificationRepo, ILikeLessonRepository likeLessonRepo, ILikeCommentRepository likeCommentRepo, ILikeDiscussionRepository likeDiscussionRepo, ICommentRepository commentRepo, IClassCalendarRepository classCalendarRepo, IFriendRequestRepository friendRequestRepo, IDateTime dateTime) { _userProfileRepo = userprofileRepo; _notificationRepo = notificationRepo; _likeCommentRepo = likeCommentRepo; _likeDiscussionRepo = likeDiscussionRepo; _likeLessonRepo = likeLessonRepo; _commentRepo = commentRepo; _classCalendarRepo = classCalendarRepo; _friendRequestRepo = friendRequestRepo; _dateTime = dateTime; }
/// <summary> /// Initialize comment controller /// </summary> /// <param name="classCalendarRepo">Class calendar repository</param> /// <param name="userprofileRepo">UserProfile repository</param> /// <param name="userActivityRepo">User activity repository</param> /// <param name="classRoomRepo">Class room repository</param> /// <param name="studentKeyRepo">Student key repository</param> /// <param name="lessonCatalogRepo">Lesson catalog repository</param> public MyCourseController(IClassCalendarRepository classCalendarRepo, IUserProfileRepository userprofileRepo, IUserActivityRepository userActivityRepo, IClassRoomRepository classRoomRepo, IStudentKeyRepository studentKeyRepo, ILessonCatalogRepository lessonCatalogRepo, ILikeLessonRepository likeLessonRepo, ILikeCommentRepository likeCommentRepo, ILikeDiscussionRepository likeDiscussionRepo, IDateTime dateTime) { _classCalendarRepo = classCalendarRepo; _userprofileRepo = userprofileRepo; _userActivityRepo = userActivityRepo; _classRoomRepo = classRoomRepo; _studentKeyRepo = studentKeyRepo; _lessonCatalogRepo = lessonCatalogRepo; _likeLessonRepo = likeLessonRepo; _likeCommentRepo = likeCommentRepo; _likeDiscussionRepo = likeDiscussionRepo; _dateTime = dateTime; }