How karimhelal/e-learning-platform works
Masar is a role-based e-learning marketplace centered on structured learning tracks. Students discover courses or tracks, enroll, study in a progress-tracked classroom, and earn verifiable certificates; instructors build and manage courses, while administrators curate submissions and assemble tracks. The graph highlights those workflows and the shared application and persistence layers. Connections are limited to README statements and relationships visible in the sampled files or SOURCE INDEX; unsampled feature implementations are represented at their existing service or controller paths.
Main entry points: AppDbContext.cs SQL Server / EF Core · CourseLearningController.cs Focus Classroom · EnrollmentService.cs Enrollment · HomeController.cs Public Discovery
Components 24
Web Experience
- MVC Controllers
Masar/Web/Controllers - Accounts
Masar/Web/Controllers/Account/AccountController.cs - Public Discovery
Masar/Web/Controllers/Home/HomeController.cs - Student Portal
Masar/Web/Controllers/Student - Focus Classroom
Masar/Web/Controllers/CourseLearning/CourseLearningController.cs - Instructor Tools
Masar/Web/Controllers/Instructor/InstructorController.cs - Admin Review
Masar/Web/Controllers/Admin - Certificate Routes
Masar/Web/Controllers/CertificateController.cs
Learning Services
- Authentication
Masar/BLL/Services/Account/AuthService.cs - Course Discovery
Masar/BLL/Services/CourseService.cs - Enrollment
Masar/BLL/Services/Enrollment/EnrollmentService.cs - Learning Progress
Masar/BLL/Services/CourseLearning/CourseLearningService.cs - Student Features
Masar/BLL/Services/Student - Certificate Generation
Masar/BLL/Services/CertificateGenerationService.cs
Course Curation
- Course Authoring
Masar/BLL/Services/Instructor/InstructorCoursesService.cs - Draft Creation
Masar/BLL/Services/CourseCreationService.cs - Quality Control
Masar/BLL/Services/Admin/AdminService.cs - Learning Tracks
Masar/BLL/Services/Track/TrackService.cs - Live Notifications
Masar/Web/Services/SignalRNotifier.cs
Domain and Data
- Learning Model
Masar/Core/Entities - Enrollment Records
Masar/Core/Entities/EnrollmentBase.cs - Repository Layer
Masar/DAL/Data/Repository - SQL Server / EF Core
Masar/DAL/Data/AppDbContext.cs
Other components
- Visitor / Learner
Connections 30
- Visitor / Learner → Accounts: signs in
Masar/Web/Controllers/Account/AccountController.cs - Accounts → Authentication: authenticates
Masar/Web/Controllers/Account/AccountController.cs - Authentication → SQL Server / EF Core: reads user data
Masar/BLL/Services/Account/AuthService.cs - Visitor / Learner → Public Discovery: browses
Masar/Web/Controllers/Home/HomeController.cs - Public Discovery → Course Discovery: requests courses
Masar/Web/Controllers/Home/HomeController.cs - Public Discovery → Enrollment: checks enrollment
Masar/Web/Controllers/Home/HomeController.cs - Visitor / Learner → Student Portal: uses portal
- Student Portal → Student Features: requests features
- Student Features → Course Discovery: browses courses
- Visitor / Learner → Focus Classroom: opens classroom
Masar/Web/Controllers/CourseLearning/CourseLearningController.cs - Focus Classroom → Enrollment: checks access
Masar/Web/Controllers/CourseLearning/CourseLearningController.cs - Focus Classroom → Learning Progress: loads lessons
Masar/Web/Controllers/CourseLearning/CourseLearningController.cs - Focus Classroom → Student Features: renders lesson view
Masar/Web/Controllers/CourseLearning/CourseLearningController.cs - Instructor Tools → Course Authoring: manages courses
Masar/Web/Controllers/Instructor/InstructorController.cs - Instructor Tools → Draft Creation: creates drafts
- Visitor / Learner → Admin Review: reviews submissions
- Admin Review → Quality Control: reviews courses
- Quality Control → Live Notifications: sends updates
- Visitor / Learner → Certificate Routes: verifies certificate
Masar/Web/Controllers/CertificateController.cs - Certificate Routes → SQL Server / EF Core: checks certificate
Masar/Web/Controllers/CertificateController.cs - Certificate Routes → Certificate Generation: generates PDF
Masar/Web/Controllers/CertificateController.cs - Enrollment → Enrollment Records: creates enrollment
Masar/BLL/Services/Enrollment/EnrollmentService.cs - Enrollment → SQL Server / EF Core: reads and saves
Masar/BLL/Services/Enrollment/EnrollmentService.cs - Course Discovery → SQL Server / EF Core: queries courses
- Course Authoring → SQL Server / EF Core: persists curriculum
Masar/BLL/Services/Instructor/InstructorCoursesService.cs - Draft Creation → SQL Server / EF Core: stores drafts
- Quality Control → SQL Server / EF Core: updates courses
Masar/BLL/Services/Admin/AdminService.cs - Learning Tracks → SQL Server / EF Core: stores tracks
- SQL Server / EF Core → Learning Model: maps entities
Masar/DAL/Data/AppDbContext.cs - Repository Layer → SQL Server / EF Core: accesses data
Masar/DAL/Data/Repository/EnrollmentRepository.cs