Hello, i am creating a web application using mvc5 that has a profile page, galleries, and youtube page.
Now, i have manage to construct that of the profile page by customizing the "IdentityUser.cs" to include additional properties but i am stuck when it comes to gallery aspect. I have the class built up quite alright but i don't know how to go about setting it up to work the way i want it to.
I want each user to have a gallery page so i'm thinking should i still add this as a property in "IdentityUser.cs" or should i set it as a foreignkey to profile.cs and if so i am having hard time understanding relationships between entities. Please, even if you want to give me a link to boost my understanding, kindly help me in constructing the kind of relationship i have explained that i need. Please. I am new to c# and its good in web apps.
Public class Galleries{
public int Id {get;set;}
public string Picture {get;set;}
public string Name {get;set}
public string Description {get;set;}
}