TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Asp.Net Hein
NA
266
165.7k
How can I make authorization with database role in MVC?
Jun 6 2016 2:15 AM
How can I authorize one of my controller only for the user in England.
For example: My database is like that.
DatabaseA (Id, Name, Notes, Country ).
In my databaseA_controller, there is one function (eg.Search).
I want to allow this 'search' feature for only the User who is in England.
I am using MVC5 and if possible, I want the reference with entity framework in MVC5.
Kindly let me know if you have idea to do. Thank you for viewing my question.
Reply
Answers (
1
)
Get month only from datetime field in database
capture posted data