Exemplo n.º 1
0
        public ContentController(IUserAppService userService, IModulesAppService modulesService,
                                 IRoleAppService roleAppService, IContentAppService contentAppService, RoleStore roleStore,
                                 IRepository <ContentReply, long> contentReplyRepository,
                                 IContentTypeAppService contentTypeAppService,
                                 IDefineAppService defineAppService,
                                 IDistrictAppService districtAppService,
                                 IPushwayAppService pushwayAppService,
                                 IReplyPraiseAppService replyPraiseAppService,
                                 IRepository <ContentReplyFile, long> contentReplyFileRepository

                                 )

        {
            _userService       = userService;
            _modulesService    = modulesService;
            _roleAppService    = roleAppService;
            _contentAppService = contentAppService;
            _roleStore         = roleStore;

            _contentReplyRepository = contentReplyRepository;
            _districtAppService     = districtAppService;
            _pushwayAppService      = pushwayAppService;
            _defineAppService       = defineAppService;
            _contentTypeAppService  = contentTypeAppService;
            _replyPraiseAppService  = replyPraiseAppService;

            _contentReplyFileRepository = contentReplyFileRepository;
        }
Exemplo n.º 2
0
 public EClassController(IEClassAppService eClassAppService, IContentTypeAppService contentTypeAppService, IHostingEnvironment env)
 {
     _eClassAppService      = eClassAppService;
     _contentTypeAppService = contentTypeAppService;
     hostingEnv             = env;
 }