Question
Develop a web application using ASP.NET Core MVC that represents a Course Registration program for a school. The Course Registration program does not need to
Develop a web application using ASP.NET Core MVC that represents a Course Registration program for a school. The Course Registration program does not need to be connected to a database, but you will need objects on the server to represent Courses, Instructors, and Students.
There should be three views, in addition to a homepage and a main layout with a navigation menu.
The first view is the Instructors view. This view is a page displaying a table with InstructorId, First Name, Last Name, Email address, and the Course that they teach. Each instructor can only teach one course.
The second view is the Students view. This view is a page displaying a table with StudentId, First Name, Last Name, Email address, and Phone number.
Finally, there is a third view for Courses. This view is a page displaying a table with CourseId, Course Number, Course Name, and Description. Clicking the course name should open up a modal dialog that displays a table that has all students who have enrolled in that course.
You do not need to implement the ability to add, edit, or delete individual objects but you should include sample data in your application so the views are populated for easy viewing of the available views and features.
Here are the Instructors: 1. Id = 01, LastName = "Macaraeg", FirstName = "Emmanuel", Email = "em@gmail.com", Teaches "Humanities" 2. Id = 02, LastName = "Sulangi", FirstName = "Arnel", Email = "as@gmail.com", teaches "Science" 3. Id = 03, LastName "Siasat", FirstName = "Mean", Email = "ms@gmail.com", teaches "English" 4. Id = 04, LastName = "Florendo", FirstName = "Ofelia", Email = "of@gmail.com", teaches "Dance" = 5. Id = 05, LastName = "Mendoza", FirstName = "Catalina", Email = "cm@gmail.com", teaches "Social Studies" Here are the Students: 1. new Student { Id = 1, LastName = "Palad", FirstName = "Mateo", Email = "mp@gmail.com", Phone = "(403)-359-4714" }, 2. new Student { Id = 2, LastName = "Pillagara", FirstName = "Zaldy", Email = "zp@gmail.com", Phone = "(403)-359-4715" }, 3. new Student { Id = 3, LastName = "Labios", FirstName = "Lucena", Email = "11@gmail.com", Phone = "(403)-359-4716" }, 4. new Student { Id = 4, LastName = "Gonzales", FirstName = "Gilda", Email = "gg@gmail.com", Phone = "(403)-359-4717" }, 5. new Student { Id = 5, LastName = "Labrador", FirstName = "Adorada", Email = "al@gmail.com", Phone = "(403)-359-4718" } Here are the Courses: 1. new Course { CourseId = "Hum1", CourseNumber = "303", CourseName = "Humanities", Description = "Exciting Humanities!" }, 2. new Course { CourseId = "Scil", CourseNumber = "203", CourseName = "Science", Description = "Exciting Science!" }, new Course { CourseId = "Eng1", CourseNumber = "101", CourseName = "English", Description = "Exciting English!" }, new Course { CourseId = "Dan1", CourseNumber = "401", CourseName = "Dance", Description = "Exciting Dance!" }, 3. 4. 5. new Course { CourseId = "SocStul", CourseNumber = "105", CourseName = "Social Studies", Description = "Exciting Social Studies!" } Additional information: 1. 2. 3. 4. 5. All 5 students are enrolled in English Mateo Palad, Zaldy Pillagara, Lucena Labios are enrolled in Dance Adorada Labrador, Gilda Gonzales, Mate Palad are enrolled in Science All 5 are enrolled in Humanities All 5 are enrolled in Social Studies.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started