Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given classes: Student, StudentController, write down code for a. Considering the RBAC (Role Based Acess Control) applied, write the Register and Log In front
Given classes: Student, StudentController, write down code for a. Considering the RBAC (Role Based Acess Control) applied, write the Register and Log In front end with angular scripts. b. On successful login, show the student details by calling Web API GET method after authorization. Also write the front-end table view to show the data using bootstrap along with angular scripts and authentication script. public class Student { } public string StudentID { get; set; } public string Name { get; set; } public string Password { get; set; } public string Address { get; set; } [Authorize] public class StudentController: ApiController { private StudentDB2Entities StudentDB2Entities (); // GET: api/Customers db = new mm public IQueryable GetStudent () wwwww { return db. Students; } }
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