Add a class in Model Folder
Right click on the Model folder ->add new items->add class.
Name of Class is "UserMaster"
In a class define the properties.
public string UserName
{ get; set; }
public string UserID
{ get; set; }
public string Password
{ get; set; }
public string GroupID
{ get; set; }
public string EmployeeID
{ get; set; }
public string UserEmail
{ get; set; }
public string CreatedBy
{ get; set; }
public string ModifiedBy
{ get; set; }
public string NewPswd
{ get; set; }
Add a
controller.
- Right click on the Controllers folder ->add->Controllers.
- Name of Controllers is "Login".
- In a controller, define the request.
-
-