public async Task <IActionResult> All()
 {
     return(Ok(await Task.FromResult(_sysConfigService.GetSysConfigList())));
 }
 public IEnumerable <SysConfig> GetSysConfig()
 {
     return(_sysconfig.GetSysConfigList());
 }