public LogRepository(AdvContext context) { _context = context; _dbSetLogs = _context.Logs; }
public LogService(AdvContext advContext, ILogRepository logRepository) { _context = advContext; _logRepository = logRepository; }
public WorkItemRepository(AdvContext context) { _context = context; }
public IterationRepository(AdvContext context) { _context = context; }
public Repository(AdvContext context) { _context = context; dbSet = _context?.Set <T>(); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); AdvContext.Init(); }