public UnitOfWork() { _demoAppContext = new DemoAppContext(); }
public UnitOfWork(DemoAppContext demoAppContext) { _demoAppContext = demoAppContext; }
public Repository(DemoAppContext demoAppContext) { this.demoAppContext = demoAppContext; // this.dbSet = demoAppContext.Set<T>(); }
public PersonRepository(DemoAppContext demoAppContext) { _demoAppContext = demoAppContext; }
public DepartmentRepository(DemoAppContext context) { _context = context; }
public UserAlbumnInfoService(DemoAppContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public ValuesController(DemoAppContext context) { _context = context; }