public HomeController(PostService postService, IHostingEnvironment hostingEnvironment, ProfileService profileService, ApplicationDbContext context, DislikeService dislikeService, CommentService commentService) { this.postService = postService; this.hostingEnvironment = hostingEnvironment; this.profileService = profileService; this.dislikeService = dislikeService; this.commentService = commentService; _context = context; }
public EntityService() { _appUserService = new AppUserService(); _categoryService = new CategoryService(); _commentService = new CommentService(); _dislikeService = new DislikeService(); _ımageForProductsService = new ImageForProductsService(); _likeService = new LikeService(); _orderDetailsService = new OrderDetailsService(); _orderService = new OrderService(); _productService = new ProductService(); _treeCommentService = new TreeCommentService(); }
public PostsController(PostService postService, LikeService likeService, DislikeService dislikeService) { _postService = postService; _likeService = likeService; _dislikeService = dislikeService; }