Exemple #1
0
 public JsonResult GetData()
 {
     if (Session["_user"] != null)
     {
         var scClient = new AuthServiceClient();
         user v = scClient.GetData((int)Session["_user"]);
         Json(v);
         return Json(v, JsonRequestBehavior.AllowGet);
     }
     return null;
 }