/// <summary> /// Initializes a new instance of the <see cref="MissionService" /> class. /// </summary> /// <param name="missionRepository">The mission repository.</param> /// <param name="userRepository">The user repository.</param> /// <param name="missionSetRepository">The mission set repository.</param> /// <param name="missionRequestRepository">The mission request repository.</param> /// <param name="hintRequestRepository">The hint request repository.</param> /// <param name="ratingService">The rating service.</param> /// <param name="commonPlacesRepository">The common places repository.</param> public MissionService( IMissionRepository missionRepository, IUserRepository userRepository, IMissionSetRepository missionSetRepository, IMissionRequestRepository missionRequestRepository, IHintRequestRepository hintRequestRepository, RatingService ratingService, ICommonPlacesRepository commonPlacesRepository) { _missionRepository = missionRepository; _userRepository = userRepository; _ratingService = ratingService; _missionSetRepository = missionSetRepository; _missionRequestRepository = missionRequestRepository; _hintRequestRepository = hintRequestRepository; _commonPlacesRepository = commonPlacesRepository; }
/// <summary> /// Initializes a new instance of the <see cref="MissionRequestService" /> class. /// </summary> /// <param name="missionRequestRepository">The mission request repository.</param> /// <param name="missionRepository">The mission repository.</param> /// <param name="userRepository">The user repository.</param> /// <param name="commonPlacesRepository">The _common places repository.</param> /// <param name="ratingService">The rating service.</param> /// <param name="notificationService">The notification service.</param> /// <param name="appCountersService">The application counters service.</param> public MissionRequestService( IMissionRequestRepository missionRequestRepository, IMissionRepository missionRepository, IUserRepository userRepository, ICommonPlacesRepository commonPlacesRepository, RatingService ratingService, NotificationService notificationService, AppCountersService appCountersService) { _missionRequestRepository = missionRequestRepository; _missionRepository = missionRepository; _userRepository = userRepository; _ratingService = ratingService; _notificationService = notificationService; _appCountersService = appCountersService; _commonPlacesRepository = commonPlacesRepository; }