Example #1
0
 public PhotosController(IWebHostEnvironment host, IVehiculeRepository vehiculeRepository, IUnitOfWork unitOfWork,
                         IMapper mapper, IOptionsSnapshot <PhotoSettings> options, IPhotoRepository photoRepository,
                         IPhotoService photoService)
 {
     this.photoService       = photoService;
     this.photoSettings      = options.Value;
     this.mapper             = mapper;
     this.photoRepository    = photoRepository;
     this.unitOfWork         = unitOfWork;
     this.vehiculeRepository = vehiculeRepository;
     this.host = host;
 }
Example #2
0
 public VehiculeService(IVehiculeRepository vehiculeRepository)
 {
     this.vehiculeRepository = vehiculeRepository;
 }
Example #3
0
 public VehiculesController(VehiculeContext context, IVehiculeService vehiculeService, IVehiculeRepository vehiculeRepository)
 {
     _context                 = context;
     this.vehiculeService     = vehiculeService;
     this._vehiculeRepository = vehiculeRepository;
 }
Example #4
0
 public VehiclesController(IMapper mapper, IVehiculeRepository repository, IUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     this.repository = repository;
     this.mapper     = mapper;
 }
 public VehiculeServices(IVehiculeRepository VehiculeRepository)
 {
     _VehiculeRepository = VehiculeRepository;
 }
Example #6
0
 public HomeController(IVehiculeRepository repository)
 {
     this.repository = repository;
 }
Example #7
0
 public VehiculeController(IVehiculeRepository vehiculeRepository)
 {
     VehiculeRepository = vehiculeRepository;
 }
Example #8
0
 public OfferViewModel(IVehiculeRepository ivehiculeRepository, IEventAggregator ea)
 {
     _ivehiculeRepository = ivehiculeRepository;
     _ea            = ea;
     CmdSendMessage = new DelegateCommand <object>(Execute);
 }