public VehiclesController(IMapper mapper, VDealDbContext context, IVehicleRepository repository, IUnitOfWork unitOfWork) { this.repository = repository; this.unitOfWork = unitOfWork; this.context = context; this.mapper = mapper; }
public GenericRepository(VDealDbContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public UnitOfWork(VDealDbContext context) { this.context = context; }
public VehicleRepository(VDealDbContext context) { this.context = context; }
public FeaturesController(VDealDbContext context, IMapper mapper) { this.mapper = mapper; this.context = context; }
public PhotoRepository(VDealDbContext context) { this.context = context; }