public FlightsController(IUserRepository userRepository, IFlightRepository flightRepository, IRotationRepository rotationRepository, IConnectionRepository connectionRepository, IAircraftTypeRepository aircraftTypeRepository, IUserTypeRatingRepository userTypeRatingRepository) { this.userRepository = userRepository; this.flightRepository = flightRepository; this.rotationRepository = rotationRepository; this.connectionRepository = connectionRepository; this.aircraftTypeRepository = aircraftTypeRepository; this.userTypeRatingRepository = userTypeRatingRepository; }
public RotationService(IRotationRepository rotation, IMapper mapper) { _rotation = rotation; _mapper = mapper; }
public RotationsController(IUserRepository userRepository, IRotationRepository rotationRepository) { this.userRepository = userRepository; this.rotationRepository = rotationRepository; }