コード例 #1
0
 public FriendController(ILayoutService layoutService,
                         IClientFriendService friendService,
                         IApplicationUserService applicationUserService
                         )
     : base(layoutService)
 {
     _friendService          = friendService;
     _applicationUserService = applicationUserService;
 }
コード例 #2
0
 public YourAccountController(ILayoutService layoutService,
                              IApplicationUserService applicationUserService,
                              IClientFriendService friendService,
                              IClientNotificationService notificationService)
     : base(layoutService)
 {
     _applicationUserService = applicationUserService;
     UserManager             = new UserManager <ApplicationUser>(new ApplicationUserStore(new ApplicationDbContext()));
     _friendService          = friendService;
     _notificationService    = notificationService;
 }
コード例 #3
0
 public ProfileController(ILayoutService layoutService,
                          IClientProfileService clientProfileService,
                          IPostService postService,
                          IPostTypeService postTypeService,
                          IPostVoteDetailService postVoteDetailService,
                          ICommentService commentOfPost,
                          ICommentVoteDetailService commentVoteDetailService,
                          IClientFriendService friendService
                          )
     : base(layoutService)
 {
     _clientProfileService     = clientProfileService;
     _postService              = postService;
     _postTypeService          = postTypeService;
     _postVoteDetailService    = postVoteDetailService;
     _commentOfPost            = commentOfPost;
     _commentVoteDetailService = commentVoteDetailService;
     _friendService            = friendService;
 }