Ejemplo n.º 1
0
 public VehiclesController(IMapper mapper, VDealDbContext context, IVehicleRepository repository, IUnitOfWork unitOfWork)
 {
     this.repository = repository;
     this.unitOfWork = unitOfWork;
     this.context    = context;
     this.mapper     = mapper;
 }
Ejemplo n.º 2
0
 public GenericRepository(VDealDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
Ejemplo n.º 3
0
 public UnitOfWork(VDealDbContext context)
 {
     this.context = context;
 }
Ejemplo n.º 4
0
 public VehicleRepository(VDealDbContext context)
 {
     this.context = context;
 }
Ejemplo n.º 5
0
 public FeaturesController(VDealDbContext context, IMapper mapper)
 {
     this.mapper  = mapper;
     this.context = context;
 }
Ejemplo n.º 6
0
 public PhotoRepository(VDealDbContext context)
 {
     this.context = context;
 }