Search code examples
c#asp.net-mvcasp.net-mvc-5asp.net-identity-2owin-middleware

How to Manage Two Kind of User with seprate Table in asp.net mvc?


I'm working on project using ASP.Net MVC 5 that have two type of user Type1 and Type2 the username of each user Type is his phone number one person should be able to sign up as both Type1 and Type2 user it mean each type should have separate register form and so it seems each type should have separate Table to store. And the problem is this how should I manage them for Authentication and Authorization system? Should I Use ASP.NET Identity? with any solution? Or Is there Any solution better than ASP.NET Identity


Solution

  • After a lot of searching i found a solution here