public RentalsController(IMapper mapper, IRentalsRepository rentalsRepo)
 {
     _mapper      = mapper;
     _rentalsRepo = rentalsRepo;
 }
示例#2
0
 public RentalsController(IRentalsRepository rentalsRepository, ICarsRepository carsRepository, ICustomersRepository customersRepository)
 {
     _rentalsRepository   = rentalsRepository;
     _carsRepository      = carsRepository;
     _customersRepository = customersRepository;
 }
 public RentalsService(IRentalsRepository rentalsRepository)
 {
     _rentalsRepository = rentalsRepository;
 }
 public RentalsService(IRentalsRepository rentalsRepository, IMapper mapper, IUnitOfWork unitOfWork)
 {
     _rentalsRepository = rentalsRepository;
     _mapper            = mapper;
     _unitOfWork        = unitOfWork;
 }
 public CustomersController(IRentalsRepository rentalsRepository, ICustomersRepository customersRepository)
 {
     _customersRepository = customersRepository;
 }
 public RentalService(VehicleTypes.Contract.IFactory vehicleTypesFactory, IRentalsRepository rentalsRepository)
 {
     _vehicleTypesFactory = vehicleTypesFactory;
     _rentalsRepository = rentalsRepository;
 }