public GenericRepository(FinesTrackerContext context) { _context = context; table = _context.Set <T>(); }
public GenericRepository() { _context = new FinesTrackerContext(); table = _context.Set <T>(); }
public GenericRepository(FinesTrackerContext context) { _context = context; table = _context.Set <T>(); }
public GenericRepository() { _context = new FinesTrackerContext(); table = _context.Set <T>(); }