public CoursesController(lmsContext context, ICourseRepository courseRepository, ICourseOutlineRepository courseOutlineRepository, ICourseOutcomeRepository courseOutcomeRepository, ICourseAssessmentRepository courseAssessmentRepository, ICompetenciesRepository courseCompetenciesRepository, ICourseEvaluationRepository courseEvaluationRepository, IUserRepository userRepository, IValidationService validationService, IEncryptionService encryptionService, IFileDirectory fileDirectory, IHostingEnvironment hostingEnvironment) { _context = context; _courseRepository = courseRepository; _courseOutlineRepository = courseOutlineRepository; _courseAssessmentRepository = courseAssessmentRepository; _courseCompetenciesRepository = courseCompetenciesRepository; _courseEvaluationRepository = courseEvaluationRepository; _courseOutcomeRepository = courseOutcomeRepository; _userRepository = userRepository; _validationService = validationService; _encryptionService = encryptionService; _fileDirectory = fileDirectory; _hostingEnvironment = hostingEnvironment; _NotFound = new GenericResult { Response = false, Message = "Record not found" }; _UnAuthorized = new GenericResult { Response = false, Message = "You dont have a permission to access this module" }; }
public CourseAssessmentController(lmsContext context, ICourseAssessmentRepository courseAssessmentRepository, IValidationService validationService) { _context = context; _courseAssessmentRepository = courseAssessmentRepository; _validationService = validationService; _NotFound = new GenericResult { Response = false, Message = "Record not found" }; }