Пример #1
0
 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;
 }
Пример #2
0
 public RotationService(IRotationRepository rotation, IMapper mapper)
 {
     _rotation = rotation;
     _mapper = mapper;
 }
Пример #3
0
 public RotationsController(IUserRepository userRepository, IRotationRepository rotationRepository)
 {
     this.userRepository = userRepository;
     this.rotationRepository = rotationRepository;
 }