Пример #1
0
        public VehCapabilityService(
            ILogger <IVehCapabilityService> logger,
            MediatR.IMediator mediator,
            IVehCapabilityRepository vehCapabilityRepository,
            IApiVehCapabilityServerRequestModelValidator vehCapabilityModelValidator,
            IDALVehCapabilityMapper dalVehCapabilityMapper,
            IDALVehicleCapabilitiesMapper dalVehicleCapabilitiesMapper)
            : base()
        {
            this.VehCapabilityRepository      = vehCapabilityRepository;
            this.VehCapabilityModelValidator  = vehCapabilityModelValidator;
            this.DalVehCapabilityMapper       = dalVehCapabilityMapper;
            this.DalVehicleCapabilitiesMapper = dalVehicleCapabilitiesMapper;
            this.logger = logger;

            this.mediator = mediator;
        }
 public ApiVehCapabilityServerRequestModelValidator(IVehCapabilityRepository vehCapabilityRepository)
 {
     this.VehCapabilityRepository = vehCapabilityRepository;
 }