Question: 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
Get step-by-step solutions from verified subject matter experts
