In my application, I want to redirect the authorized user to update their profile page until they have provided required information. If they update profile, then the IsProfileCompleted
is set to 'true' in the database.
So, I knows that this can be done by putting check condition in required action of controller.
But I want to do this by customizing the AuthorizeAttribute
.
I Googled and 'StackOverflowed' for information, but got confused. Please guide me.
See Question&Answers more detail:os