Esempio n. 1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="UserService" /> class.
 /// </summary>
 /// <param name="userRepository">The user repository.</param>
 /// <param name="missionRepository">The mission repository.</param>
 /// <param name="ratingRepository">The rating repository.</param>
 /// <param name="appCountersService">The application counters service.</param>
 public UserService(
     IUserRepository userRepository,
     IMissionRepository missionRepository,
     IRatingRepository ratingRepository,
     AppCountersService appCountersService)
 {
     _userRepository     = userRepository;
     _ratingRepository   = ratingRepository;
     _missionRepository  = missionRepository;
     _appCountersService = appCountersService;
 }
Esempio n. 2
0
 /// <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;
 }