I'm new to MVC and I am creating a MVC project. My goal is to just display a website that only I can edit/post/delete and others can acess and only view the page.
I have seen some solutions including:
[Authorize(Roles = "User, Administrator")]
I already have a DB and I used Entity Framework code first.
How to approach the problem from here? Thanks.