public RepositoryBase(SchoolmanContext context) { this.context = context; set = context.Set <T>(); }
public CustomerLoginTest(TestWebAppFactory testWebAppFactory) : base(testWebAppFactory) { mediator = factory.Services.GetRequiredService <IMediator>(); customerManager = factory.Services.GetRequiredService <ICustomerManager>(); context = factory.Services.GetRequiredService <SchoolmanContext>(); }
public DbSeeder(SchoolmanContext schoolmanContext, ICustomerManager customerManager) { context = schoolmanContext; this.customerManager = customerManager; }