I want to use Repository & Unit Of Work in my project. But in ASP.NET MVC when we want use DBContext to use this code
MyDbContext db=new MyDbContext();
but in ASP.NET Core when write this code it want an argument
because use this code in DbContext
Class
public MyDbContext(DbContextOptions<MyDbContext> options) : base(options) { }