public SysTemplateController(ILogs logs, IHostingEnvironment environment) { _sysTemplate = new SysTemplateService(); _sysTemplateDetails = new SysTemplateDetailsService(); _logs = logs; _environment = environment; }
public ViewPage() { _templateService = new SysTemplateService(); _templateDetailsService = new SysTemplateDetailsService(); _currentLang = StartUp.CurrentLang; _pageService = new SysPageService(); }
public CPApiController(ILogs logs, IConfiguration configuration) { _configuration = configuration; _logs = logs; _menu = new WebMenu(); _templateDetailsService = new SysTemplateDetailsService(); _templateService = new SysTemplateService(); _menuService = new CPMenuService(); _propertyService = new SysPropertyService(); currentLang = StartUp.CurrentLang; }