public static PackageDbContext CreateDbContext() { var options = new DbContextOptionsBuilder <PackageDbContext>() .UseInMemoryDatabase(Guid.NewGuid().ToString("N")).Options; var dbContext = new PackageDbContext(options); return(dbContext); }
public BookingsController(PackageDbContext context) { _context = context; }
public PackageService(PackageDbContext dbContext) { Repository = new BaseRepository <Package>(dbContext); }
public AllPackage(PackageDbContext context) { _context = context; }
public CustomerBooking(PackageDbContext context) { _context = context; }
public PackageRepository(PackageDbContext dbContext) { _dbcontext = dbContext; }
public ReferencesService(PackageDbContext dbContext) { Repository = new BaseRepository <Units>(dbContext); }
public PointService(PackageDbContext dbContext) { Repository = new BaseRepository <Point>(dbContext); }
public GenericAsyncRepository(PackageDbContext dbContext) { this.dbContext = dbContext; dbSet = this.dbContext.Set <T>(); }
public DcardsController(PackageDbContext context) { _context = context; }
public NetbankingsController(PackageDbContext context) { _context = context; }
public ClientAsyncService(PackageDbContext dbContext) { Repository = new GenericAsyncRepository <Client>(dbContext); }
public StaffService(PackageDbContext dbContext) { Repository = new BaseRepository <Staff>(dbContext); }
public PaymentController(PackageDbContext context) { _context = context; }
public BaseRepository(PackageDbContext dbContext) { this.dbContext = dbContext; dbSet = this.dbContext.Set <T>(); }
public packagesController(PackageDbContext context) { _context = context; }