Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 3
0
 public PostsController(PostService postService, LikeService likeService, DislikeService dislikeService)
 {
     _postService    = postService;
     _likeService    = likeService;
     _dislikeService = dislikeService;
 }