public HomeController(IUnitOfWork unitOfWork, ILogWrapper logWrapper,
                       IGasStationRepository gasStationRepository,
                       IGasStationGasTypeRepository gasStationGasTypeRepository,
                       IDistrictRepository districtRepository,
                       IMTpyeRepository mTypeRepository
                       ) : base(unitOfWork, logWrapper)
 {
     _gasStationRepository        = gasStationRepository;
     _gasStationGasTypeRepository = gasStationGasTypeRepository;
     _districtRepository          = districtRepository;
     _mTypeRepository             = mTypeRepository;
 }
示例#2
0
 public GasStationAPIController(
     IUnitOfWork unitOfWork,
     IGasStationRepository gasStationRepository,
     IMTypeRepository mTypeRepository,
     IDistrictRepository districtRepository,
     IGasStationGasTypeRepository gasStationGasTypeRepository
     )
 {
     _gasStationRepository        = gasStationRepository;
     _mTypeRepository             = mTypeRepository;
     _districtRepository          = districtRepository;
     _gasStationGasTypeRepository = gasStationGasTypeRepository;
     _unitOfWork = unitOfWork;
 }