Пример #1
0
 public FollowsController(
     IFollowsService followsService,
     UserManager <ApplicationUser> userManager)
 {
     this.followsService = followsService;
     this.userManager    = userManager;
 }
Пример #2
0
 public FollowsController(
     IFollowsService followsService,
     ICurrentUserService currentUser)
 {
     this.followsService = followsService;
     this.currentUser    = currentUser;
 }
Пример #3
0
 public FollowsApiController(
     UserManager <ApplicationUser> userManager,
     IFollowsService followsService)
 {
     this.userManager    = userManager;
     this.followsService = followsService;
 }
Пример #4
0
 public ProfilesController(
     IProfilesService profilesService,
     IFollowsService followsService,
     UserManager <ApplicationUser> userManager)
 {
     this.profilesService = profilesService;
     this.followsService  = followsService;
     this.userManager     = userManager;
 }
 public FollowsController(
     IDeletableEntityRepository <Follow> followRepository,
     IFollowsService followsService,
     ILiftsService liftsService,
     UserManager <ApplicationUser> userManager)
 {
     this.followRepository = followRepository;
     this.followsService   = followsService;
     this.liftsService     = liftsService;
     this.userManager      = userManager;
 }
 public ConversationsController(
     IConversationsService conversationsService,
     IMessagesService messagesService,
     IApplicationUsersService applicationUsersService,
     IFollowsService followsService,
     IHubContext <ChatHub> chatHubContext)
 {
     this.conversationsService    = conversationsService;
     this.messagesService         = messagesService;
     this.applicationUsersService = applicationUsersService;
     this.followsService          = followsService;
     this.chatHubContext          = chatHubContext;
 }
Пример #7
0
 public ProfilesController(
     IApplicationUsersService applicationUsersService,
     IFollowsService followsService,
     IAdminRequestsService adminRequestsService,
     UserManager <ApplicationUser> userManager,
     IBadgesService badgesService)
 {
     this.applicationUsersService = applicationUsersService;
     this.followsService          = followsService;
     this.adminRequestsService    = adminRequestsService;
     this.userManager             = userManager;
     this.badgesService           = badgesService;
 }
Пример #8
0
 public EditsService(
     IDeletableEntityRepository <Edit> editRepository,
     IDeletableEntityRepository <Category> categoryRepository,
     IDeletableEntityRepository <Article> articleRepository,
     IDiffMatchPatchService diffMatchPatchService,
     IFollowsService followsService,
     IStarsService starsService)
 {
     this.editRepository        = editRepository;
     this.categoryRepository    = categoryRepository;
     this.articleRepository     = articleRepository;
     this.diffMatchPatchService = diffMatchPatchService;
     this.followsService        = followsService;
     this.starsService          = starsService;
 }
Пример #9
0
 public projectsuperiorController(IUserService userService, IHotSuperiorService hotSuperiorService, IRecentVisitorService recentVisitorService,
                                  ISuperiorLetterService superiorLetterService, IFollowsService followsService, IArticleService articleService, IDepartService departService,
                                  ISchoolService schoolService, IProjectRecordService projectRecordService)
 {
     _schoolService         = schoolService;
     _departService         = departService;
     _userService           = userService;
     _hotSuperiorService    = hotSuperiorService;
     _recentVisitorService  = recentVisitorService;
     _superiorLetterService = superiorLetterService;
     _followsService        = followsService;
     _articleService        = articleService;
     _projectRecordService  = projectRecordService;
     loginUser = Models.Help.loginUser.getLoginUser();
 }
Пример #10
0
 public PrivacyControlService(IMediator mediator, IFollowsService followsService)
 {
     _mediator       = mediator;
     _followsService = followsService;
 }