dotnet DB context register

Code Example - dotnet DB context register

                
                        services.AddDbContext<AppDbContext>(opt => opt.UseInMemoryDatabase("PantryInMemoryDb"));Code language: C# (cs)