I've created a very basic ASP.NET MVC5 application following the getting started tutorial for MVC as part of learning. My application simply gives the Authenticated/Logged In users to CREATE some complaint, EDIT, VIEW and DELETE it.
Now what I want is:
1: Only the complaints made by the logged in user himself is shown to him and not all the complaints made by all the users get displayed in front of him.
2: The ability to see complaints from all the users should only be for the Admin.
I've been finding some similar examples or tutorial but nothing up to date is available, even on the ASP.NET site the Identity section is not very helpful for someone like me who wants to know the basics by implementing such functionality.