Using claims or just roles in ASP.NET Core MVC

In my ASP.NET Core MVC project, I have this scenario: a manager can do anything in the web application, you can call it super manager, and there is only one user. This “super” manager can add other managers that are more restricted, for example these managers cannot create users of type manager, or cannot see some information.

Creating navigation code-first results in the error: does not declare a navigation property with the name

query.Include("Store_Location").Load(); throws: An exception of type ‘System.InvalidOperationException’ occurred in EntityFramework.SqlServer.dll but was not handled in user code Additional information: A specified Include path is not valid. The EntityType ‘Model.Order’ does not declare a navigation property with the name ‘Store_Location’. I used the following code in order to create the navigation code-first: public partial class Order … Read more