コード例 #1
0
 public UsersController(
     IFollowingService usersFollowingFunctionalityService,
     IUsersPostsService usersPostsService,
     IControllerAdditionalFunctionality controllerAdditionalFunctionality,
     TimeConvertingService timeConvertingService,
     ILikesService likesService)
 {
     this.UsersFollowingFunctionalityService = usersFollowingFunctionalityService;
     this.UsersPostsService = usersPostsService;
     this.controllerAdditionalFunctionality = controllerAdditionalFunctionality;
     this.timeConvertingService             = timeConvertingService;
     this.likesService = likesService;
 }
コード例 #2
0
 public HomeController(
     IFollowingService usersFollowingFunctionalityService,
     IUsersPostsService usersPostsService,
     IControllerAdditionalFunctionality controllerAdditionalFunctionality,
     TimeConvertingService timeConvertingService,
     ILikesService likesService,
     IWebHostEnvironment env)
 {
     this.usersFollowingFunctionalityService = usersFollowingFunctionalityService;
     this.usersPostsService = usersPostsService;
     this.controllerAdditionalFunctionality = controllerAdditionalFunctionality;
     this.timeConvertingService             = timeConvertingService;
     this.likesService = likesService;
     this.env          = env;
 }