Example #1
0
 public ProfileController(IMapper mapper, IUserService userService, IProfilService profileService, IPostTagService postTagService)
 {
     this.mapper         = mapper;
     this.userService    = userService;
     this.profileService = profileService;
     this.postTagService = postTagService;
 }
Example #2
0
 public AdminController(ICategoryService category, IPostTagService postTag, IMapper mapper, IPostService post)
 {
     _category = category;
     _mapper   = mapper;
     _post     = post;
     _postTag  = postTag;
 }
Example #3
0
 public PostService(IUnitOfWork <GenericBaseEntityRepository <Post> > unitOfWork, ITagService tagService,
                    IPostTagService postTagService)
 {
     _unitOfWork     = unitOfWork;
     _tagService     = tagService;
     _postTagService = postTagService;
 }
Example #4
0
 public EditModel(IPostService postService, ITagService tagService, IGroupService groupService, IPostTagService postTagService, AppUserManager userManager)
 {
     _postService    = postService;
     _tagService     = tagService;
     _groupService   = groupService;
     _postTagService = postTagService;
     _userManager    = userManager;
 }
Example #5
0
 public TagService(IBaseRepository <Tag> tagRepository,
                   IPostTagService postTagServe,
                   IMapper mapper)
 {
     _tagRepository  = tagRepository;
     _postTagService = postTagServe;
     _mapper         = mapper;
 }
Example #6
0
        public PostApiController(IPostService postService, IPostTagService postTagService, IMemoryCache cache)
        {
            _postService    = postService;
            _postTagService = postTagService;
            _cache          = cache;

            cacheEntryOptions = new MemoryCacheEntryOptions()
                                .SetSlidingExpiration(TimeSpan.FromDays(1));
        }
Example #7
0
 public AuthorController(IPostService post, ICategoryService category, ITagService tag, IPostTagService postTag, IMapper mapper, UserManager <BlogUser> userManager)
 {
     _post        = post;
     _category    = category;
     _tag         = tag;
     _postTag     = postTag;
     _mapper      = mapper;
     _userManager = userManager;
 }
Example #8
0
 public PostController(IPostService post, IUnitOfWork unitOfWork, ICategoryService category, ITagService tag, IPostTagService postTag, IMapper mapper, UserManager <BlogUser> userManager)
 {
     _post        = post;
     _unitOfWork  = unitOfWork;
     _category    = category;
     _tag         = tag;
     _postTag     = postTag;
     _mapper      = mapper;
     _userManager = userManager;
 }
 public PostsController(IMapper mapper, ITagService tagService, IUserService userService, ICategoryService categoryService, ILogger <PostsController> logger, IPostService postService, IPostTagService PostTagService)
 {
     _logger          = logger;
     _postService     = postService;
     _PostTagService  = PostTagService;
     _categoryService = categoryService;
     _userService     = userService;
     _tagService      = tagService;
     _mapper          = mapper;
 }
Example #10
0
 public UIKitController(ICategoryService _categoryService,
                        IPostService _postService,
                        IUrlService _urlService,
                        IPostTagService _tagService,
                        ICacheManager _cacheManager,
                        ISettingService _settingService)
 {
     categoryService = _categoryService;
     postService     = _postService;
     urlService      = _urlService;
     tagService      = _tagService;
     cacheManager    = _cacheManager;
     settingService  = _settingService;
 }
Example #11
0
 public PostService(IBaseRepository <Post> postRepository,
                    IBaseRepository <User> userRepository,
                    ITagService tagService,
                    IPostTagService postTagService,
                    IFileUploadService fileUploadService,
                    IMapper mapper)
 {
     _postRepository    = postRepository;
     _userRepository    = userRepository;
     _tagService        = tagService;
     _postTagService    = postTagService;
     _fileUploadService = fileUploadService;
     _mapper            = mapper;
 }
Example #12
0
 public MainController(IPostService postService, IMapper mapper, ICategoryService categoryService,
                       ITagService tagService, IPostTagService postTagService, IUserService userService, ICommentService commentService,
                       IProfilService profileService, ILikeService likeService, IPostRatingService postRatingService)
 {
     this.postService       = postService;
     this.mapper            = mapper;
     this.categoryService   = categoryService;
     this.tagService        = tagService;
     this.postTagService    = postTagService;
     this.userService       = userService;
     this.commentService    = commentService;
     this.profileService    = profileService;
     this.likeService       = likeService;
     this.postRatingService = postRatingService;
 }
Example #13
0
 public PostController(ISettingService _settingService,
                       IPostService _postService,
                       ICategoryService _categoryService,
                       IUrlService _urlService,
                       IMediaStorageService _mediaStorageService,
                       IPostTagService _postTagService,
                       ICacheManager _cacheManager)
 {
     settingService      = _settingService;
     postService         = _postService;
     categoryService     = _categoryService;
     urlService          = _urlService;
     mediaStorageService = _mediaStorageService;
     postTagService      = _postTagService;
     cacheManager        = _cacheManager;
 }
Example #14
0
 public BlogController(ICategoryService _categoryService,
                       IPostService _postService,
                       IUrlService _urlService,
                       IPostTagService _tagService,
                       ISettingService _settingService,
                       IMediaStorageService _mediaStorageService,
                       ISocialNetworkService _socialNetworkService,
                       ApplicationUserService _userService)
 {
     categoryService      = _categoryService;
     postService          = _postService;
     urlService           = _urlService;
     tagService           = _tagService;
     settingService       = _settingService;
     mediaStorageService  = _mediaStorageService;
     socialNetworkService = _socialNetworkService;
     userService          = _userService;
 }
Example #15
0
 public PostService(IRepository <Post> _postRepository,
                    IRepository <Comment> _commentRepository,
                    ICacheManager _cacheManager,
                    IMediaStorageService _mediaStorageService,
                    ICategoryService _categoryService,
                    IPostTagService _tagService,
                    IUrlService _urlService,
                    ApplicationUserService _userService)
 {
     postRepository      = _postRepository;
     commentRepository   = _commentRepository;
     cacheManager        = _cacheManager;
     mediaStorageService = _mediaStorageService;
     categoryService     = _categoryService;
     tagService          = _tagService;
     urlService          = _urlService;
     userService         = _userService;
 }
Example #16
0
 public RoleController(ISettingService _settingService,
                       IPostService _postService,
                       IPortfolioService _portfolioService,
                       ICategoryService _categoryService,
                       IPortfolioCategoryService _portfolioCategoryService,
                       IUrlService _urlService,
                       ITeamMemberService _teamMemberService,
                       IClietTestimonialsService _testimonialsService,
                       ISocialNetworkService _socialNetworkService,
                       IMediaStorageService _mediaStorageService,
                       IPostTagService _postTagService,
                       ICacheManager _cacheManager,
                       IJobService _jobService,
                       IJobCategoryService _jobCategoryService,
                       ISubscriberService _subscriberService,
                       IApplyJobService _applyJobService,
                       IContactService _contactService)
 {
     db = new DataContext();
 }
Example #17
0
 public PostController(IPostService postService,
                       ICategoryService categoryService,
                       ICustomerService customerService,
                       IUrlRecordService urlRecordService,
                       IWorkContext workContext,
                       ILanguageService languageService,
                       ILocalizationService localizationService,
                       ILocalizedEntityService localizedEntityService,
                       IPictureService pictureService,
                       IExportManager exportManager,
                       IImportManager importManager,
                       ICustomerActivityService customerActivityService,
                       IPermissionService permissionService,
                       IAclService aclService,
                       ICacheManager cacheManager,
                       IDateTimeHelper dateTimeHelper,
                       IPostTagService postTagService, IPostTemplateService postTemplateService)
 {
     _postService             = postService;
     _categoryService         = categoryService;
     _customerService         = customerService;
     _urlRecordService        = urlRecordService;
     _workContext             = workContext;
     _languageService         = languageService;
     _localizationService     = localizationService;
     _localizedEntityService  = localizedEntityService;
     _pictureService          = pictureService;
     _exportManager           = exportManager;
     _importManager           = importManager;
     _customerActivityService = customerActivityService;
     _permissionService       = permissionService;
     _aclService          = aclService;
     _cacheManager        = cacheManager;
     _dateTimeHelper      = dateTimeHelper;
     _postTagService      = postTagService;
     _postTemplateService = postTemplateService;
 }
Example #18
0
 public PortfolioController(ISettingService _settingService,
                            IPostService _postService,
                            IPortfolioService _portfolioService,
                            ICategoryService _categoryService,
                            IPortfolioCategoryService _portfolioCategoryService,
                            IUrlService _urlService,
                            ITeamMemberService _teamMemberService,
                            IClietTestimonialsService _testimonialsService,
                            ISocialNetworkService _socialNetworkService,
                            IMediaStorageService _mediaStorageService,
                            IPostTagService _postTagService,
                            ICacheManager _cacheManager,
                            IJobService _jobService,
                            IJobCategoryService _jobCategoryService,
                            ISubscriberService _subscriberService,
                            IApplyJobService _applyJobService,
                            IContactService _contactService)
 {
     settingService           = _settingService;
     portfolioService         = _portfolioService;
     postService              = _postService;
     categoryService          = _categoryService;
     urlService               = _urlService;
     teamMemberService        = _teamMemberService;
     testimonialsService      = _testimonialsService;
     socialNetworkService     = _socialNetworkService;
     mediaStorageService      = _mediaStorageService;
     postTagService           = _postTagService;
     portfolioCategoryService = _portfolioCategoryService;
     cacheManager             = _cacheManager;
     jobService               = _jobService;
     jobCategoryService       = _jobCategoryService;
     subscriberService        = _subscriberService;
     applyJobService          = _applyJobService;
     contactService           = _contactService;
 }
Example #19
0
 public TagsViewComponent(IMapper mapper, ITagService tagService, IPostTagService postTagService)
 {
     this.mapper         = mapper;
     this.tagService     = tagService;
     this.postTagService = postTagService;
 }
Example #20
0
 public PostService(ApplicationDbContext context, ITagService tagService, IPostTagService postTagService)
 {
     _context        = context;
     _tagService     = tagService;
     _postTagService = postTagService;
 }
 public PostTagApiController(IPostTagService postTagService)
 {
     _postTagService = postTagService;
 }
 public TagService(ApplicationDbContext context, IPostTagService postTagService)
 {
     this.context        = context;
     this.postTagService = postTagService;
 }
 public SearchApiController(IPostService postService, IPostTagService postTagService, ISearchService searchService)
 {
     _postService    = postService;
     _searchService  = searchService;
     _postTagService = postTagService;
 }
Example #24
0
 public PostService(ApplicationDbContext context, ITagService tagService, IPostTagService postTagService)
 {
     this.context        = context;
     this.tagService     = tagService;
     this.postTagService = postTagService;
 }
Example #25
0
 public PostController(IAccountService accountService, IPostService postService, IPostTagService postTagService)
 {
     _accountService = accountService;
     _postService    = postService;
     _postTagService = postTagService;
 }
Example #26
0
 public PostTagController(IErrorService errorService, IPostTagService postTagService) :
     base(errorService)
 {
     this._postTagService = postTagService;
 }
Example #27
0
 public PostTagComponent(IPostTagService postTagService)
 {
     _postTagService = postTagService;
 }