Exemple #1
0
 public ItemsController(IFeedItemBusiness feedItemBusiness, ITagBusiness tagBusiness, ISearchHistoryBusiness searchHistoryBusiness, IUserBusiness userBusiness)
 {
     _feedItemBusiness      = feedItemBusiness;
     _tagBusiness           = tagBusiness;
     _searchHistoryBusiness = searchHistoryBusiness;
     _userBusiness          = userBusiness;
 }
Exemple #2
0
 public ItemsController(IFeedItemBusiness feedItemBusiness, ISiteBusiness siteBusiness, ICategoryBusiness categoryBusiness, ITagBusiness tagBusiness)
 {
     _feedItemBusiness = feedItemBusiness;
     _siteBusiness     = siteBusiness;
     _categoryBusiness = categoryBusiness;
     _tagBusiness      = tagBusiness;
 }
Exemple #3
0
 public ArticleController(IArticleBusiness dev_ArticleBusiness, IAttachmentBusiness dev_attachmentBusiness, ITagBusiness tagBusiness, IMapper mapper)
 {
     _articleBusiness    = dev_ArticleBusiness;
     _attachmentBusiness = dev_attachmentBusiness;
     _tagBusiness        = tagBusiness;
     _mapper             = mapper;
 }
Exemple #4
0
 public FeedItemBusiness(IUnitOfWork unitOfWork, ITagBusiness tagBusiness, ICategoryBusiness categoryBusiness,
                         IAppConfigBiz appConfigBiz, IRepositorySaver repositorySaver) : base(unitOfWork)
 {
     TagBiz           = tagBusiness;
     CatBiz           = categoryBusiness;
     _appConfigBiz    = appConfigBiz;
     _repositorySaver = repositorySaver;
 }
Exemple #5
0
 public UserController(ITagBusiness tagBusiness, ICategoryBusiness categoryBusiness, ISiteBusiness siteBusiness,
                       IRecomendBiz recomendBiz, IUserBusiness userBusiness)
 {
     _tagBusiness      = tagBusiness;
     _categoryBusiness = categoryBusiness;
     _siteBusiness     = siteBusiness;
     _recomendBiz      = recomendBiz;
     _userBusiness     = userBusiness;
 }
Exemple #6
0
        const int IndexItemsWidget = 6;//number of items panel in index page
        //const int IndexVisualPost = 4;//number of visual post in index page

        public HomeController(ITagBusiness tagBusiness, ICategoryBusiness categoryBusiness, IAppConfigBiz appConfigBiz,
                              IFeedItemBusiness feedItemBusiness, ISiteBusiness siteBusiness, IUserBusiness userBusiness)
        {
            _tagBusiness      = tagBusiness;
            _categoryBusiness = categoryBusiness;
            _appConfigBiz     = appConfigBiz;
            _feedItemBusiness = feedItemBusiness;
            _siteBusiness     = siteBusiness;
            _userBusiness     = userBusiness;
        }
Exemple #7
0
 public CatController(ICategoryBusiness categoryBusiness, IFeedItemBusiness feedItemBusiness,
                      IAppConfigBiz appConfigBiz, ITagBusiness tagBusiness, IPostBiz postBiz, ISiteBusiness siteBusiness, IBlogService blogService, IUnitOfWork unitOfWork)
 {
     _categoryBusiness = categoryBusiness;
     _feedItemBusiness = feedItemBusiness;
     _appConfigBiz     = appConfigBiz;
     _tagBusiness      = tagBusiness;
     _postBiz          = postBiz;
     _siteBusiness     = siteBusiness;
     _blogService      = blogService;
     _unitOfWork       = unitOfWork;
 }
Exemple #8
0
 public ProductsController(IProductBusiness productBusiness,
                           ICategoryBusiness categoryBusiness,
                           IProductCategoryBusiness productCategoryBusiness,
                           ITagBusiness tagBusiness,
                           IGalleryBusiness galleryBusiness)
 {
     _productBusiness         = productBusiness;
     _categoryBusiness        = categoryBusiness;
     _productCategoryBusiness = productCategoryBusiness;
     _tagBusiness             = tagBusiness;
     _galleryBusiness         = galleryBusiness;
 }
Exemple #9
0
 public KeyController(ISiteBusiness siteBusiness, IFeedItemBusiness feedItemBusiness, ITagBusiness tagBusiness)
 {
     _siteBusiness     = siteBusiness;
     _feedItemBusiness = feedItemBusiness;
     _tagBusiness      = tagBusiness;
 }
Exemple #10
0
 public RssController(ICategoryBusiness categoryBusiness, IFeedItemBusiness feedItemBusiness, ITagBusiness tagBusiness)
 {
     _categoryBusiness = categoryBusiness;
     _feedItemBusiness = feedItemBusiness;
     _tagBusiness      = tagBusiness;
 }
Exemple #11
0
 public CategoryBusiness(IUnitOfWork dbContext, ITagBusiness tagBusiness) : base(dbContext)
 {
     _tagBusiness = tagBusiness;
 }
Exemple #12
0
 public TagsController(ITagBusiness tagBusiness)
 {
     _tagBusiness = tagBusiness;
 }
Exemple #13
0
 /// <summary>
 /// Parameter that serve to connect to the database
 /// </summary>
 public TagRepository(SmartCityContext context, ITagBusiness tagBusiness, IRouteTagRepository routeTagRepository)
 {
     _context            = context;
     _tagBusiness        = tagBusiness;
     _routeTagRepository = routeTagRepository;
 }
Exemple #14
0
 public AdsController(IAdsBiz adsBiz, ICategoryBusiness categoryBusiness, ITagBusiness tagBusiness)
 {
     _adsBiz           = adsBiz;
     _categoryBusiness = categoryBusiness;
     _tagBusiness      = tagBusiness;
 }
Exemple #15
0
 public ToolboxController(ITagBusiness tagBusiness, ICategoryBusiness categoryBusiness, ISiteBusiness siteBusiness)
 {
     _tagBusiness      = tagBusiness;
     _categoryBusiness = categoryBusiness;
     _siteBusiness     = siteBusiness;
 }
 public HomeController(IArticleBusiness dev_ArticleBusiness, IAttachmentBusiness dev_attachmentBusiness, ITagBusiness tagBusiness)
 {
     _articleBusiness    = dev_ArticleBusiness;
     _attachmentBusiness = dev_attachmentBusiness;
     _tagBusiness        = tagBusiness;
 }
Exemple #17
0
 public PostController(IPostBiz postBiz, ICategoryBusiness categoryBusiness, ITagBusiness tagBusiness)
 {
     _postBiz          = postBiz;
     _categoryBusiness = categoryBusiness;
     _tagBusiness      = tagBusiness;
 }
 public TagController(ITagBusiness dev_TagBusiness)
 {
     _tagBusiness = dev_TagBusiness;
 }