public TripController(ITripServices tripServices, IRatingServices ratingServices, ITripNotificationServices tripNotificationServices, ITownProvider townProvider, IStatisticsServices statisticsServices, IViewServices viewServices, IDateProvider dateProvider, ITripProvider tripProvider, INotificationServices notificationServices)
 {
     this.TripServices = tripServices;
     this.RatingServices = ratingServices;
     this.TripNotificationServices = tripNotificationServices;
     this.StatisticsServices = statisticsServices;
     this.ViewServices = viewServices;
     this.TownProvider = townProvider;
     this.DateProvider = dateProvider;
     this.TripProvider = tripProvider;
     this.NotificationServices = notificationServices;
 }
 public BookingCarController(IMapper mapper, IEmployeeServices employeeServices, ITicketSerivces ticketSerivces,
                             IDriverServices driverServices, ICarServices carServices, IBusinessUnitSerivces businessUnitSerivces,
                             ITripServices tripServices)
 {
     _mapper               = mapper;
     _employeeServices     = employeeServices;
     _ticketSerivces       = ticketSerivces;
     _driverServices       = driverServices;
     _carServices          = carServices;
     _businessUnitServices = businessUnitSerivces;
     _tripServices         = tripServices;
 }
 public TicketApprovalController(IMapper mapper, ITicketSerivces ticketSerivces, ITripServices tripServices,
                                 ITicketTripServices ticketTripServices, BookingCarDbContext context,
                                 ISendMailServices sendMailServices, IRazorViewToStringRenderer razorViewToStringRenderer)
 {
     _mapper                    = mapper;
     _ticketSerivces            = ticketSerivces;
     _tripServices              = tripServices;
     _ticketTripServices        = ticketTripServices;
     _context                   = context;
     _sendMailServices          = sendMailServices;
     _razorViewToStringRenderer = razorViewToStringRenderer;
 }
示例#4
0
 public TripClientRpcWorker(ITripServices tripServices, TcpClient connection)
 {
     LOGGER.Info("initializing worker");
     this.tripServices = tripServices;
     this.connection   = connection;
     try
     {
         stream    = connection.GetStream();
         formatter = new BinaryFormatter();
         connected = true;
     }
     catch (Exception e)
     {
         LOGGER.Warn("initializing worker failed" + e);
         Console.WriteLine(e.StackTrace);
     }
 }
 public HomeChildActionController(ITripServices tripServices)
 {
     this.TripServices = tripServices;
 }
示例#6
0
 public TripProvider(ITripServices tripServices)
 {
     this.tripServices = tripServices;
 }
 public TripsController(ITripServices service)
 {
     this._service = service;
 }
示例#8
0
 public TripHelper(ITripServices tripServices)
 {
     this.TripServices = tripServices;
 }
 public TripAjaxController(ITripServices tripServices, ITripNotificationServices tripNotificaitonServices)
 {
     this.tripServices = tripServices;
     this.tripNotificaitonServices = tripNotificaitonServices;
 }
 public TripServicesGrpcImpl(ITripServices tripServices)
 {
     this.tripServices = tripServices;
 }
 public TripNotificationServices(IDbRepository<TripNotification> tripNotificationRepos, ITripServices tripServices, INotificationTypeServices notificationTypeServices)
 {
     this.tripNotificationRepos = tripNotificationRepos;
     this.tripServices = tripServices;
     this.notificationTypeServices = notificationTypeServices;
 }
 public TripAdminController(ITripServices tripServices)
 {
     this.tripServices = tripServices;
 }
示例#13
0
 public TripsController(ITripServices tripServices)
 {
     _tripService = tripServices;
 }
示例#14
0
 public LoginController(ITripServices tripServices)
 {
     this.tripServices = tripServices;
 }
示例#15
0
 public HomeController(ITripServices tripServices, ITripHelper tripHelper, ITownProvider townProvider)
 {
     this.TripServices = tripServices;
     this.TripHelper = tripHelper;
     this.townProvider = townProvider;
 }
 public NotificationProvider(ITripServices tripServices)
 {
     this.tripServices = tripServices;
 }
示例#17
0
 public MainController(ITripServices tripService)
 {
     this.tripServices = tripService;
     this.tripServices.AddTripObserver(this);
 }
示例#18
0
 public RpcConcurrentServer(string host, int port, ITripServices tripServices) : base(host, port)
 {
     this.tripServices = tripServices;
 }