public void Initialize() { _mockRepository = new Mock<IPostCategoryRepository>(); _mockUnitOfWork = new Mock<IUnitOfWork>(); _categoryService = new PostCategoryService(_mockRepository.Object, _mockUnitOfWork.Object); _lstPostCategory = new List<PostCategory>() { new PostCategory() { ID=1,Name="DM1",status=true}, new PostCategory() { ID=2,Name="DM2",status=true}, new PostCategory() { ID=3,Name="DM3",status=true}, }; }
public PostCategoryController(IErrorService errorService, IPostCategoryService postCategoryService) : base(errorService) { _postCategoryService = postCategoryService; }
public CreatePostValidator(IPostCategoryService postCategoryService) { this._postCategoryService = postCategoryService; this.ApplyRules(); }
public PostController(IPostService postService, ILogger <PostController> logger, IPostCategoryService postCategoryService) { _postCategoryService = postCategoryService; _postService = postService; _logger = logger; }
public PostController(IPostService postService, IWebHostEnvironment environment, IPostCategoryService postCategoryService, ILikePostService likePostService) { _postService = postService; _environment = environment; _postCategoryService = postCategoryService; _likePostService = likePostService; }
public AdminController(IUnitOfWork unitOfWork, IPostService pageService, IMappingEngine mappingEngine, IPostCategoryService postCategoryService) { _unitOfWork = unitOfWork; _postService = pageService; _mappingEngine = mappingEngine; _postCategoryService = postCategoryService; }
public PostController(IPostService postService, IPostCategoryService postCategoryService, ICommonService commonService) { this._postService = postService; this._postCategoryService = postCategoryService; this._commonService = commonService; }
public SelectListService(IPostCategoryService postCategoryService, ICommonLanguageService commonLanguageService) : base() { _postCategoryService = postCategoryService; _commonLanguageService = commonLanguageService; }
public PostCategoriesController(IPostCategoryService postCategoryServices, ILogger <PostCategoriesController> logger) { this.postCategoryServices = postCategoryServices; _logger = logger; }
public PostController(ILogger <PostController> logger, IPostService postService, IPostCategoryService postCategoryService, UserManager <User> userManager) { _userManager = userManager; _logger = logger; _postService = postService; _postCategoryService = postCategoryService; }
public PostCategoryDetailController(IPostCategoryService postCategoryService) { _postCategoryService = postCategoryService; }
public PostCategoryController(ILogger <PostCategoryController> logger, IPostCategoryService postCategoryService) : base(logger) { _postCategoryService = postCategoryService; _logger = logger; }
public PostCategoryApiController(IPostCategoryService postCategoryService, Logger logger) { _postCategoryService = postCategoryService; _logger = logger; }
public PostCategoriesController(IPostCategoryService postCategoryService, IUnitOfWork unitOfWork, IMapper mapper) { _postCategoryService = postCategoryService; _unitOfWork = unitOfWork; _mapper = mapper; }
public PostCategoryController(IErrorService errSer, IPostCategoryService postCategoryService) : base(errSer) { this._postCategoryService = postCategoryService; }
public PostCategoryController(IErrorService errorService, IPostCategoryService postCategoryService, ILogService logService) : base(errorService) { this._postCategoryService = postCategoryService; this._logService = logService; }
public PostController(IPostCategoryService postCategoryService, IPostService postService, IConfiguration configuration) { _postCategoryService = postCategoryService; _postService = postService; _configuration = configuration; }
public HomeController(ILogger <PostController> logger, IPostService postService, IPostCategoryService postCategoryService, IEntryService entryService, IAccountService accountService, IRestSharpService restSharpService) { _logger = logger; _postService = postService; _postCategoryService = postCategoryService; _entryService = entryService; _accountService = accountService; _restSharpService = restSharpService; }
public HomeController(IUnitOfWork unitOfWork, IPostService postService, IPostCategoryService postCategoryService) { _unitOfWork = unitOfWork; _postService = postService; _postCategoryService = postCategoryService; }
public PostCategoryController(ILogError logError, IPostCategoryService postCategoryService) : base(logError) { _postCategoryService = postCategoryService; }
public CategoriesViewComponent(IPostCategoryService postCategoryService) { _postCategoryService = postCategoryService; }
public PostService(IPostDal postDal, IPostCategoryService postCategoryService, ICommentService commentService) { _postDal = postDal; _postCategoryService = postCategoryService; _commentService = commentService; }
public PostCategoryController(IPostCategoryService PostCategoryService) { _PostCategoryService = PostCategoryService; }
public PostCategoryController(IPostCategoryService postCategoryService, IPostService postService) { _postCategoryService = postCategoryService; _postService = postService; }
public PostService(IPostRepository postRepository, IHttpContextAccessor httpContextAccessor, ICommentService commentService, IRatingRepository ratingRepository, IPostCategoryService postCategoryService, IApiService apiService) { _postRepository = postRepository; _httpContextAccessor = httpContextAccessor; _commentService = commentService; _ratingRepository = ratingRepository; _postCategoryService = postCategoryService; _apiService = apiService; }
public AdminController(IUnitOfWork unitOfWork, IPostCategoryService categoryService, IMappingEngine mappingEngine) { _unitOfWork = unitOfWork; _categoryService = categoryService; _mappingEngine = mappingEngine; }
public ReportsController(IReportService reportService, IPostService postService, IPostCategoryService postCategoryService, ImageService image, IWebHostEnvironment webHostEnvironment, UserManager <ApplicationUser> userManager, IConfiguration configuration) { _reportService = reportService; _postService = postService; _postCategoryService = postCategoryService; _image = image; _webHostEnvironment = webHostEnvironment; _userManager = userManager; _configuration = configuration; }
public BlogManagerController(IPostService postService, IPostImageService postImageService, IImageService imageService, IPostCategoryService postCategoryService, IUserService userService, IRoleService roleService) { _postService = postService; _postImageService = postImageService; _imageService = imageService; _postCategoryService = postCategoryService; _userService = userService; _roleService = roleService; }
public PostCategoryController(IPostCategoryService postCategoryService) { this.postCategoryService = postCategoryService; }
public PostCategoriesController(IPostCategoryService postCategoryService) { _postCategoryService = postCategoryService; }
public PostCategoryController(IErrorService errorService, IPostCategoryService postCategoryService, IMapper mapper) : base(errorService, mapper) { this._postCategoryService = postCategoryService; }