Asp.Net Hein

Asp.Net Hein

  • NA
  • 266
  • 167.1k

Authorize in MVC5

Jun 5 2016 2:46 AM
I want to implement my controller to be authorize the user with custom condition
 
For example: My database is like that
User ( Id, Name, Country, Email, PhoneNumber )
 
I want to make authorization to one of my controller where the country of user in  'England' only.
Thank you for viewing my question.  

Answers (1)