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; }
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; }