Ejemplo n.º 1
0
 public PostController(IPostService postService, IPostCategoryService postCategoryService, ICommentService commentService, ICommentVoteService commentVoteService, ApplicationUserManager userManager)
 {
     _postService         = postService;
     _postCategoryService = postCategoryService;
     _commentService      = commentService;
     _userManager         = userManager;
     _commentVoteService  = commentVoteService;
 }
Ejemplo n.º 2
0
 public ProductController(IProductService productService, IProductQuantityService productQuantityService,
                          IProductCategoryService productCategoryService, IProductImageService productImageService, ICommentService commentService
                          , ICommentVoteService commentVoteService)
 {
     _productService         = productService;
     _productQuantityService = productQuantityService;
     _productCategoryService = productCategoryService;
     _productImageService    = productImageService;
     _commentService         = commentService;
     _commentVoteService     = commentVoteService;
 }
 public CommentVoteController(ICommentVoteService CommentVoteService, IErrorLogService errorLogService, IAuthenticationService authenticationService)
 {
     _commentVoteService   = CommentVoteService;
     _errorLogService      = errorLogService;
     _authentcationService = authenticationService;
 }