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;
        }
Example #2
0
 public SysTemplateController(ILogs logs, IHostingEnvironment environment, SysTemplateService templateService
                              , SysTemplateDetailService templateDetailService)
 {
     _sysTemplate        = templateService;
     _sysTemplateDetails = templateDetailService;
     _logs        = logs;
     _environment = environment;
 }
Example #3
0
 public ViewPage(SysTemplateService templateService, SysTemplateDetailService templateDetailService
                 , SysPageService pageService, SysTemplatePropertyService sysTemplateProperty)
 {
     _templateService        = templateService;
     _templateDetailsService = templateDetailService;
     _currentLang            = StartUp.CurrentLang;
     _pageService            = pageService;
     _sysTemplateProperty    = sysTemplateProperty;
 }