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