Example #1
0
 public HomeController(ILayoutService layoutService,
                       IClientHomeService clientHomeService,
                       IPostService postService,
                       IDetailUserTypeService detailUser,
                       IHaveSendQuestionService haveSendQuesService,
                       IPostTypeService postTypeService,
                       ICommentService commentOfPost,
                       IPostVoteDetailService postVoteDetailService,
                       IDetailUserTypeService detailUserType,
                       ICommentVoteDetailService commentVoteDetailService,
                       IToiecGroupService fbService,
                       IEventService eventService
                       )
     : base(layoutService)
 {
     _clientHomeService        = clientHomeService;
     _postService              = postService;
     _detailUserTypeService    = detailUser;
     _haveSendQuesService      = haveSendQuesService;
     _postTypeService          = postTypeService;
     _commentOfPost            = commentOfPost;
     _postVoteDetailService    = postVoteDetailService;
     _detailUserType           = detailUserType;
     _commentVoteDetailService = commentVoteDetailService;
     _fbService    = fbService;
     _eventService = eventService;
     initChatBotMenu();
 }
 public LearningController(ILayoutService layoutService,
                           IClientLearningService clientLearningService,
                           IDetailOurWordService detailOutWordService,
                           IDictCacheService dictCache,
                           IToiecGroupService toiecService
                           )
     : base(layoutService)
 {
     _clientLearningService = clientLearningService;
     _detailOutWordService  = detailOutWordService;
     _dictCache             = dictCache;
     _toiecService          = toiecService;
 }
Example #3
0
 public PostController(ILayoutService layoutService,
                       IPostService postService,
                       IPostTypeService postTypeService,
                       IPostVoteDetailService postVoteDetailService,
                       ICommentService commentOfPost,
                       ICommentVoteDetailService commentVoteDetailService,
                       IClientNotificationService notificationService,
                       IDetailUserTypeService detailUserTypeService,
                       IToiecGroupService fbService,
                       IEventService eventService)
     : base(layoutService)
 {
     _postService              = postService;
     _postTypeService          = postTypeService;
     _postVoteDetailService    = postVoteDetailService;
     _commentOfPost            = commentOfPost;
     _commentVoteDetailService = commentVoteDetailService;
     _detailUserTypeService    = detailUserTypeService;
     _notificationService      = notificationService;
     _fbService    = fbService;
     _eventService = eventService;
 }
Example #4
0
 public AdminToiecGroupController(IToiecGroupService toiecGroupService, ILayoutAdminService layoutService)
     : base(toiecGroupService, layoutService)
 {
     _toiecGroupService = toiecGroupService;
 }