Relationship between classes Asp.Net Identity

Asked

Viewed 61 times

3

I’m a beginner with Asp.net, I’m making a site with scheduling times for a barbershop, using Asp.Net’s Identity for authentication and authorization of users. However, I am in doubt whether it will be necessary to create a users class to list the information in the agenda, such as user, time and scheduled service, or can I use user information extracted from Identity? If yes, how do I relationship between classes, since Identity will be in a separate context. Taking advantage, the context should even be separated?

  • 1

    Good people, I received a help from a friend who gave me the following: I must use the same context, but I created a user class inherited from Identityuser and so I used the attributes of the class according to my need.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.