I'm trying to follow this tutorial on the Microsoft website.
I am using Visual Studio Express 2020 and .NET 6 Web MVC, I followed the instructions and all look ok till this line:
var user = new CateringMilanoUser
{
Name = Input.Name,
DOB = Input.DOB,
UserName = Input.Email,
Email = Input.Email
};
When I generated the code with visual studio I found it different :
var user = CreateUser();
Do you know how to implement the CreateUser with those two new fiedls?
CreateUser