how to setup DBContext entity framework in asp.net core code example
Example: generic dbcontext entity framework core
public class SampleContext : GuidDbContext
{
public IDbSet<Foo> Foos { get; set; }
public IDbSet<Bar> Bars { get; set; }
}