MVC custom login authentication
问题 Hi I'm developing an app in MVC and I have a problem with login, I want to know how can I manage the login depending on the user role. While the moment the login works fine but I need to identify the role user for sending to different pages I have a table in my database call Employee and one column is call IdPosition that is referred to another table call Position. Here is my code [HttpPost] public ActionResult Autorizacion(Pepitos.Models.Employee employee) { using (pepitosEntities db = new