Ejemplo n.º 1
0
        public QRBaseApiController()
        {
            try
            {
                _log = new Log4NetLoggingService();

                _repository = new QRRepository(
                    new CGH.QuikRide.Repository.Entities.QR.QRDataContext());

                RunCustomLogicAfterCtor();
            }
            catch (Exception ex)
            {
                if (_log != null)
                {
                    _log.Error(message: $"Failure to initialize repository in controller constructor.",
                               logMessageType: LogMessageType.Instance.Exception_WebApi, ex: ex);
                }
                else
                {
                    throw;
                }
            }
        }
 public ReservationRequestCancellationReasonTypesQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 3
0
 public UsersNotificationTypesQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 4
0
 public BusRouteTranslationsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 5
0
 public ReservationStatusTypesQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
 public VehicleFeatureTypesQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 7
0
 public BarcodeScanLogsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 8
0
 public FeedbackInitiatorTypeTranslationsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 9
0
 public UserRewardAccountsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
 public VehicleBusRoutesQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 11
0
 public FeedbacksQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 12
0
 public LocationsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 13
0
 public GenderTypeTranslationsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
 public ReservationRequestOptionsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 15
0
 public QRAPIStatusController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 16
0
 public RideServiceTypesQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 17
0
 public DriversQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 18
0
 public BusRouteStopsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 19
0
 public QRBaseApiController(ILoggingService log, IQRRepository repository)
 {
     _repository = repository;
     _log        = log;
     RunCustomLogicAfterCtor();
 }
 public ReservationRequestStatusTypeTranslationsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 21
0
 public HolidaysQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 22
0
 public UserRewardAccountTransactionTypeTranslationsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }
Ejemplo n.º 23
0
 public VehicleStatusTypeTranslationsQRController(ILoggingService log, IQRRepository repository)
     : base(log, repository)
 {
 }