public ChartService(IClientContext clientContext, IFlightContext flightContext, IFlightAirportsContext flightAirportsContext, ITicketContext ticketContext, UserManager <ApplicationUser> userContext, ICountryContext countryContext, ICityContext cityContext) { _clientContext = clientContext; _flightContext = flightContext; _flightAirportsContext = flightAirportsContext; _ticketContext = ticketContext; _userContext = userContext; _countryContext = countryContext; _cityContext = cityContext; }
public CityService(ICityContext cityCntx, IMapper mapper) { _cityCntx = cityCntx ?? throw new ArgumentNullException(nameof(cityCntx)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public CityController(ICityContext cityContext) { _cityContext = cityContext; }
public CityRepository(ICityContext cityContext, IMapper mapper) { _cityContext = cityContext ?? throw new ArgumentNullException(nameof(cityContext)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public CityService(ICityContext context) { _context = context ?? throw new NullReferenceException(nameof(context)); }