public PostController(IPostService postService, ICommentService commentService, ILikeService likeService, IMapper mapper) { _postService = postService ?? throw new ArgumentException(nameof(postService)); _commentService = commentService ?? throw new ArgumentException(nameof(commentService)); _likeService = likeService ?? throw new ArgumentException(nameof(likeService)); _mapper = mapper ?? throw new ArgumentException(nameof(mapper)); }
public DashboardController(UserManager <User> userManager, IPostService postService, ICommentService commentService, ILikeService likeService) { _userManager = userManager; _postService = postService; _commentService = commentService; _likeService = likeService; }
public MessageService(IUserService userService, ILikeService likeService, IMapper mapper, DataContext context) { _userService = userService; _likeService = likeService; _mapper = mapper; _context = context; }
public BlogController(IBlogService _blogService, ICommentService _commnetService, ILikeService _likeService, IHostingEnvironment _env) { blogService = _blogService; commentService = _commnetService; likeService = _likeService; env = _env; }
public ForumController(IPostService postService, ILikeService likeService, ICommentService commentService, UserManager <ApplicationUser> userManager) { this.postService = postService; this.likeService = likeService; this.commentService = commentService; this.userManager = userManager; }
public BaiVietController(ILikeService likeService, IErrorService errorService, IBaiVietService baiVietService, IBinhLuanService binhLuanService) : base(errorService) { _baiVietService = baiVietService; _binhLuanService = binhLuanService; _likeService = likeService; }
public UserProfileController(IMapper mapper, IUserService userService, ILikeService likeService, IPostService postService) { _mapper = mapper; _userService = userService; _postService = postService; _likeService = likeService; }
public LikeController(IPostService postService, ILikeService likeService, IMapper mapper, ICommentService commentService) { _postService = postService; _likeService = likeService; _mapper = mapper; _commentService = commentService; }
public LikesController(IMapper mapper, IUserService userService, ILikeService likeService, IHubContext <NotificationHub> notificationHub) { _mapper = mapper; _likeService = likeService; _userService = userService; _notificationHub = notificationHub; }
public LikesController(ILikeService likeService, IMapper mapper, ICustomValidators customValidators) { _mapper = mapper; _likeService = likeService; _customValidators = customValidators; }
public PostController(IPostService postService, IUserService userService, ICommentService commentService, ILikeService likeService) { this.postService = postService; this.userService = userService; this.commentService = commentService; this.likeService = likeService; }
public LikesController(ICountService countService, ILikeService likeService, IMapper mapper, IPhotoService photoService) { _likeService = likeService; _mapper = mapper; _photoService = photoService; _countService = countService; }
public CoursesController(ICourseService courseService, UserManager <User> userManager, ILikeService like, ICommentService commentService) { _commentService = commentService; _like = like; _courseService = courseService; _userManager = userManager; }
public LikesController(ILikeService likeService, UserManager <ApplicationUser> userManager, INotificationsService notificationsService, IBeatsService beatsService) { this.likeService = likeService; this.userManager = userManager; this.notificationsService = notificationsService; this.beatsService = beatsService; }
public PublicationController() { Service = new PublicationService(); Service1 = new CommentService(); userService = new UserService(); dislikeService = new DislikeService(); likeService = new LikeService(); }
public LikeController(ILikeService likeService, IUserService userService , ILogService logService ) : base(userService, logService) { this.serviceLike = likeService; }
public PostController(IMapper mapper, IPostService postService, ILikeService likeService, IWebHostEnvironment environment, ICommentService commentService) { _mapper = mapper; _postService = postService; _likeService = likeService; _environment = environment; _commentService = commentService; }
public UserController(IMapper mapper, IUserService userService, IWebHostEnvironment environment, ILikeService likeService, ICommentService commentService) { _likeService = likeService; _commentService = commentService; _mapper = mapper; _userService = userService; _environment = environment; }
public UserViewComponent(UserManager <ApplicationUser> userManager, IReportService reportService, IInvestigationService investigationService, ICommentService commentService, ILikeService likeService) { _userManager = userManager; _reportService = reportService; _investigationService = investigationService; _commentService = commentService; _likeService = likeService; }
public PublicationCommentService(IRepository<PublicationComment> publicationCommentRepository, IUserService userService, ILikeService likeService) { _publicationCommentRepository = publicationCommentRepository; _userService = userService; _likeService = likeService; }
public LikeController(ILikeService likeService, IUserService userService, IMapper mapper, INotificationService notiService, IAlbumService albumService) { this._likeService = likeService; this._userService = userService; this._mapper = mapper; this._notifService = notiService; this._albumService = albumService; }
public MainController(IUserService userService, IPictureService pictureService, ILikeService likeService, IRoleService roleService) { _userService = userService; _pictureService = pictureService; _likeService = likeService; _roleService = roleService; _logger = LogManager.GetLogger("logfile"); }
public NewsController(INewsService newsService, UserManager <User> userManager, ICommentaryService commentaryService, IRatingService ratingService, ILikeService likeService) { this.newsService = newsService; this.userManager = userManager; this.commentaryService = commentaryService; this.ratingService = ratingService; this.likeService = likeService; }
public CatalogCommentService(IRepository<CatalogComment> CatalogCommentRepository, IUserService userService, ILikeService likeService) { _CatalogCommentRepository = CatalogCommentRepository; _userService = userService; _likeService = likeService; }
public CommentsViewComponent(IMapper mapper, ICommentService commentService, IProfilService profileService, ILikeService likeService) { this.mapper = mapper; this.commentService = commentService; this.profileService = profileService; this.likeService = likeService; }
public LikesController( ILikeService likeService, IMapper mapper ) { _likeService = likeService; _mapper = mapper; }
public PhotosController(IUserSessionService userSessionService, IPhotoFileProcessor photoFileProcessor, ILikeService likeService) { this._userSessionService = userSessionService; this._photoFileProcessor = photoFileProcessor; this._likeService = likeService; }
public async Task Init() { _unitOfWork = new UnitOfWork(_context); _kweetService = new KweetService(new KweetRepository(_context, _unitOfWork)); _userService = new UserService(new UserRepository(_context, _unitOfWork)); _likeService = new LikeService(new Repository <Like>(_context, _unitOfWork)); await Seed(); }
public PostsController(IPostService postService, IMapper mapper, UserManager <User> userManager, IUriService uriService, ILikeService likeService) { _postService = postService; _mapper = mapper; _userManager = userManager; _uriService = uriService; _likeService = likeService; }
public PublicationApiController() { MyService = new PublicationService(); CommentService = new CommentService(); dislikeService = new DislikeService(); likeService = new LikeService(); Index(); publicationsModels = Index().ToList(); }
public EventsController(ICategoryService categoryService, IEventService eventService, UserManager <User> userManager, ICommentRepository commentRepository, ILikeService likeService) { _categoryService = categoryService; _eventService = eventService; _userManager = userManager; _commentRepository = commentRepository; _likeService = likeService; }
public CategoryController(ICategoryService categoryService, IPostService postService, ICommentService commentService, ILikeService likeService, IUserService userService) { this.categoryService = categoryService; this.postService = postService; this.commentService = commentService; this.likeService = likeService; this.userService = userService; }
public CustomerDataService(IPointService pointService, IUserService userService, ILikeService likeService, ICustomerRepository customerRepository, IOutSiteCustomerRepository outSiteCustomerRepository, IVerifyCodeRepository verifyCodeRepository, IResourceService resourceService) { _likeService = likeService; _customerRepository = customerRepository; _outSiteCustomerRepository = outSiteCustomerRepository; _verifyCodeRepository = verifyCodeRepository; _resourceService = resourceService; _userService = userService; _pointService = pointService; }
public CommentController(ICommentService customerCommentService, IUserService customerService, ILikeService customerLikeService, IMediaService pictureService, MediaSettings mediaSettings) { _customerCommentService = customerCommentService; _customerService = customerService; _customerLikeService = customerLikeService; _pictureService = pictureService; _mediaSettings = mediaSettings; }
public TimelineController(ITimelineService timelineService, IFollowService customerFollowService, IUserService userService, IMediaService pictureService, MediaSettings mediaSettings, IVideoBattleService videoBattleService, ILikeService customerLikeService, ICommentService customerCommentService) { _timelineService = timelineService; _customerFollowService = customerFollowService; _userService = userService; _pictureService = pictureService; _mediaSettings = mediaSettings; _videoBattleService = videoBattleService; _customerLikeService = customerLikeService; _customerCommentService = customerCommentService; }
public LikeController(IUserService userService, ILikeService likeService) { _likeService = likeService; _userService = userService; }