public MoviesServiceTest() { var options = new DbContextOptionsBuilder <SWContext>() .UseInMemoryDatabase(databaseName: "TestSWMovies").Options; _context = new SWContext(options); InitializeDB(); }
public SellerService(SWContext context) { _context = context; }
public CharactersRepository(SWContext dataContext) { DataContext = dataContext; }
public CategoriasController(SWContext context) { _context = context; }
public DepartmentService(SWContext context) { _context = context; }
/// <summary> /// Ctor (the db context instance will be injected via Ninject) /// Consult NinjectWebCommon.cs in App_Start /// </summary> /// <param name="ctx"></param> public BaseODataController(SWContext ctx) { this.db = ctx; }
public SalesRecordService(SWContext context) { _context = context; }
public ProdutoesController(SWContext context) { _context = context; }
public MoviesService(SWContext context) { _context = context; }
//public SeedingService() //{ //} public SeedingService(SWContext context) { db = context; }
public HeartbeatsController(SWContext ctx) : base(ctx) { }
public PersonDataService(SWContext swContext) { this.SWContext = swContext; }
public EpisodesRepository(SWContext dataContext) { DataContext = dataContext; }
public DepartmentsController(SWContext context) { _context = context; }