Пример #1
0
 public FriendshipAppService(
     ITaskeverUserRepository taskeverUserRepository, 
     IFriendshipRepository friendshipRepository, 
     IFriendshipPolicy friendshipPolicy, 
     IEmailService emailService)
 {
     _taskeverUserRepository = taskeverUserRepository;
     _friendshipRepository = friendshipRepository;
     _friendshipPolicy = friendshipPolicy;
     _emailService = emailService;
 }
Пример #2
0
 public TaskAppService(
     ITaskPolicy taskPolicy,
     ITaskRepository taskRepository,
     ITaskeverUserRepository userRepository,
     IEventBus eventBus)
 {
     _taskRepository = taskRepository;
     _userRepository = userRepository;
     _eventBus = eventBus;
     _taskPolicy = taskPolicy;
 }
Пример #3
0
 public ActivityService(
     ITaskeverUserRepository userRepository,
     IFriendshipRepository friendshipRepository,
     IActivityRepository activityRepository,
     IUserFollowedActivityRepository userFollowedActivityRepository)
 {
     _userRepository = userRepository;
     _friendshipRepository = friendshipRepository;
     _activityRepository = activityRepository;
     _userFollowedActivityRepository = userFollowedActivityRepository;
     Logger = NullLogger.Instance;
 }
 public UserActivityAppService(ITaskeverUserRepository userRepository, IUserFollowedActivityRepository followedActivityRepository, IFriendshipDomainService friendshipDomainService)
 {
     _userRepository = userRepository;
     _followedActivityRepository = followedActivityRepository;
     _friendshipDomainService = friendshipDomainService;
 }
 public TaskeverUserAppService(ITaskeverUserRepository userRepository, IFriendshipRepository friendshipRepository, IEmailService emailService)
 {
     _userRepository = userRepository;
     _friendshipRepository = friendshipRepository;
     _emailService = emailService;
 }
 public TestService(ITaskeverUserRepository taskeverUserRepository, ITaskeverRoleRepository taskeverRoleRepository)
 {
     _taskeverUserRepository = taskeverUserRepository;
     _taskeverRoleRepository = taskeverRoleRepository;
 }