public AddFavouriteTweetsController(ITwitterAPIService twitterApiService, ITweetService tweetService, IUserTweetService userTweetService, IUserTweeterService userTweeterService, UserManager <User> userManager, IAutoMapper autoMapper) { this.twitterApiService = twitterApiService; this.tweetService = tweetService; this.userTweetService = userTweetService; this.userTweeterService = userTweeterService; this.userManager = userManager; this.autoMapper = autoMapper; }
public CascadeDeleteEntityService(IAdminUserService userService, IUnitOfWork unitOfWork, IUserTweetService userTweetService, ITweetService tweetService, IUserTweeterService userTweeterService, ITweeterService tweeterService) { this.userService = userService ?? throw new ArgumentNullException(nameof(userService)); this.unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); this.userTweetService = userTweetService ?? throw new ArgumentNullException(nameof(userTweetService)); this.tweetService = tweetService ?? throw new ArgumentNullException(nameof(tweetService)); this.userTweeterService = userTweeterService ?? throw new ArgumentNullException(nameof(userTweeterService)); this.tweeterService = tweeterService ?? throw new ArgumentNullException(nameof(tweeterService)); }