コード例 #1
0
 public HomeController(IUsersService usersService, IPostsService postsService, IVotesService votesService, IVotesForCommentsService votesForCommentsService)
 {
     this.usersService            = usersService;
     this.postsService            = postsService;
     this.votesService            = votesService;
     this.votesForCommentsService = votesForCommentsService;
 }
コード例 #2
0
ファイル: UsersController.cs プロジェクト: kriss98/BG-TATKO
 public UsersController(IUsersService usersService, IPostsService postsService, IVotesService votesService, IVotesForCommentsService votesForCommentsService, UserManager <ApplicationUser> userManager)
 {
     this.usersService            = usersService;
     this.postsService            = postsService;
     this.votesService            = votesService;
     this.votesForCommentsService = votesForCommentsService;
     this.userManager             = userManager;
 }
コード例 #3
0
 public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IVotesService votesService, IVotesForCommentsService votesForCommentsService, IUsersService usersService)
 {
     this.userManager             = userManager;
     this.votesService            = votesService;
     this.votesForCommentsService = votesForCommentsService;
     this.usersService            = usersService;
     this.signInManager           = signInManager;
 }
コード例 #4
0
 public VotesForCommentsController(IVotesForCommentsService votesForCommentsService, UserManager <ApplicationUser> userManager)
 {
     this.votesForCommentsService = votesForCommentsService;
     this.userManager             = userManager;
 }