Beispiel #1
0
 public ItemsController(IFeedItemBusiness feedItemBusiness, ISiteBusiness siteBusiness, ICategoryBusiness categoryBusiness, ITagBusiness tagBusiness)
 {
     _feedItemBusiness = feedItemBusiness;
     _siteBusiness     = siteBusiness;
     _categoryBusiness = categoryBusiness;
     _tagBusiness      = tagBusiness;
 }
Beispiel #2
0
 public UserController(ITagBusiness tagBusiness, ICategoryBusiness categoryBusiness, ISiteBusiness siteBusiness,
                       IRecomendBiz recomendBiz, IUserBusiness userBusiness)
 {
     _tagBusiness      = tagBusiness;
     _categoryBusiness = categoryBusiness;
     _siteBusiness     = siteBusiness;
     _recomendBiz      = recomendBiz;
     _userBusiness     = userBusiness;
 }
Beispiel #3
0
 public SiteController(ISiteBusiness siteBusiness, IFeedItemBusiness feedItemBusiness,
                       IAppConfigBiz appConfigBiz, IBlogService blogService, ICategoryBusiness categoryBusiness)
 {
     _siteBusiness     = siteBusiness;
     _feedItemBusiness = feedItemBusiness;
     _appConfigBiz     = appConfigBiz;
     _blogService      = blogService;
     _categoryBusiness = categoryBusiness;
 }
Beispiel #4
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;
        }
Beispiel #5
0
 public HomeController(ISiteBusiness siteBusiness, IFeedItemBusiness feedItemBusiness, IFeedBusiness feedBusiness, IPostBiz postBiz,
                       IContactBusiness contactBusiness, IUserBusiness userBusiness, ICommentBiz commentBiz)
 {
     _siteBusiness     = siteBusiness;
     _feedItemBusiness = feedItemBusiness;
     _feedBusiness     = feedBusiness;
     _postBiz          = postBiz;
     _contactBusiness  = contactBusiness;
     _userBusiness     = userBusiness;
     _commentBiz       = commentBiz;
 }
Beispiel #6
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;
 }
Beispiel #7
0
 public SitesController(ISiteBusiness siteBusiness)
 {
     _siteBusiness = siteBusiness;
 }
Beispiel #8
0
 public ToolboxController(ITagBusiness tagBusiness, ICategoryBusiness categoryBusiness, ISiteBusiness siteBusiness)
 {
     _tagBusiness      = tagBusiness;
     _categoryBusiness = categoryBusiness;
     _siteBusiness     = siteBusiness;
 }
Beispiel #9
0
 public KeyController(ISiteBusiness siteBusiness, IFeedItemBusiness feedItemBusiness, ITagBusiness tagBusiness)
 {
     _siteBusiness     = siteBusiness;
     _feedItemBusiness = feedItemBusiness;
     _tagBusiness      = tagBusiness;
 }