public PostService(IUnitOfWork unitOfWork, IMappingEngine mappingEngine, ICategoryService categoryService, IApplicationUserManager applicationUserManagerService, ICommentService commentService, IPostsReactService postReactService) { _unitOfWork = unitOfWork; _post = _unitOfWork.Set <Post>(); _mappingEngine = mappingEngine; _allCategories = categoryService.GetAllCategoriesSelectListItem(); _allCategoriesForSearch = categoryService.GetAllCategorySelectListItemForSearch(); _allCreatorsForSearch = applicationUserManagerService.GetAllUsersSelectListItemForSearch(); _commentService = commentService; _postReactService = postReactService; }
public DashboardService( IApplicationUserManager userService, ICommentService commentService, IPostsReactService postReactService, IPostService postService, IWebViewService webViewService, IWebPostViewService webPostViewService, ICategoryService categoryService, IUnitOfWork unitOfWork ) { _userService = userService; _commentService = commentService; _postReactService = postReactService; _postService = postService; _categoryService = categoryService; _webViewService = webViewService; _webPostViewService = webPostViewService; _webView = unitOfWork.Set <DomainClasses.Entities.WebView>(); }
public PostReactController(IPostsReactService postReactService) { _postReactService = postReactService; }