Esempio n. 1
0
        public CPApiController(ILogs logs
                               , IConfiguration configuration
                               , SysTemplateDetailService templateDetailService
                               , SysTemplateService templateService
                               , SysTemplatePropertyService templatePropertyService
                               , CPMenuService menuService
                               , CPUserService userService
                               , CPRoleService roleService
                               , CPLangService langService
                               , Security security)
        {
            _configuration          = configuration;
            _logs                   = logs;
            _menu                   = new WebMenu();
            _security               = security;
            _templateDetailsService = templateDetailService;
            _templateService        = templateService;
            _menuService            = menuService;
            _propertyService        = templatePropertyService;
            _userService            = userService;
            _roleService            = roleService;
            _langService            = langService;

            _currentLang = StartUp.CurrentLang;
        }
Esempio n. 2
0
 public ViewPage(SysTemplateService templateService, SysTemplateDetailService templateDetailService
                 , SysPageService pageService, SysTemplatePropertyService sysTemplateProperty)
 {
     _templateService        = templateService;
     _templateDetailsService = templateDetailService;
     _currentLang            = StartUp.CurrentLang;
     _pageService            = pageService;
     _sysTemplateProperty    = sysTemplateProperty;
 }