示例#1
0
 public UpdateRideRequestCommandHandler(IRideRequestRepository rideRequestRepository,
                                        IUnitOfWork unitOfWork,
                                        IStopRepository stopRepository)
 {
     _rideRequestRepository = rideRequestRepository;
     _unitOfWork            = unitOfWork;
     _stopRepository        = stopRepository;
 }
示例#2
0
 public RideRequestLogic(IRideRequestRepository rideRequestRepository, IUserLogic personLogic, IAddressLogic addressLogic, UserManager <User> userManager, IMapper mapper, IPassengerLogic passengerLogic, IRideLogic rideLogic)
 {
     _rideRequestRepository = rideRequestRepository;
     _addressLogic          = addressLogic;
     _rideLogic             = rideLogic;
     _userManager           = userManager;
     _mapper         = mapper;
     _passengerLogic = passengerLogic;
 }
 public DriverUnitOfWork(DriverDbContext driverDbContext,
                         IDriverRepository driverRepository,
                         IRideRepository rideRepository,
                         IRideRequestRepository rideRequestRepository)
     : base(driverDbContext)
 {
     DriverRepository      = driverRepository;
     RideRepository        = rideRepository;
     RideRequestRepository = rideRequestRepository;
 }
示例#4
0
 public RideRequestLogic(IDriverNoteLogic driverNoteLogic, IDriverSeenNoteRepository driverSeenNoteLogic, IRideRequestRepository rideRequestRepository, IRideRequestNoteLogic rideRequestNoteLogic, IAddressLogic addressLogic, IUserLogic userLogic, IMapper mapper, IPassengerLogic passengerLogic, IRideLogic rideLogic, IRouteLogic routeLogic)
 {
     _rideRequestRepository = rideRequestRepository;
     _addressLogic          = addressLogic;
     _rideLogic             = rideLogic;
     _userLogic             = userLogic;
     _mapper                    = mapper;
     _passengerLogic            = passengerLogic;
     _routeLogic                = routeLogic;
     _rideRequestNoteLogic      = rideRequestNoteLogic;
     _driverNoteLogic           = driverNoteLogic;
     _driverSeenNoteReposiotory = driverSeenNoteLogic;
 }
示例#5
0
 public DriverSeenNoteRepository(ApplicationDbContext databaseContext, IRideRequestRepository rideRequestRepository)
 {
     _databaseContext       = databaseContext;
     _rideRequestRepository = rideRequestRepository;
 }
示例#6
0
 public ResignRideRequestCommandHandler(IRideRequestRepository rideRequestRepository, IUnitOfWork unitOfWork)
 {
     _rideRequestRepository = rideRequestRepository;
     _unitOfWork            = unitOfWork;
 }