Exemplo n.º 1
0
 //获取系统时间
 public async Task <ActionResult> GetServerTime()
 {
     return(await Task.Run(() =>
     {
         return Content(JsonAppHelper.ToJson(api.GetServerTime()));
     }));
 }