コード例 #1
0
ファイル: Api.cs プロジェクト: wei20050/Wdxx
 public static bool PutUser(user u)
 {
     return(CoreWebApi.Send <bool>(Url, null, u));
 }
コード例 #2
0
ファイル: Api.cs プロジェクト: wei20050/Wdxx
 public static bool DeleteUser(string id)
 {
     return(CoreWebApi.Send <bool>(Url, id));
 }
コード例 #3
0
ファイル: Api.cs プロジェクト: wei20050/Wdxx
 public static user GetUser(string id)
 {
     return(CoreWebApi.Send <user>(Url, id));
 }
コード例 #4
0
ファイル: Api.cs プロジェクト: wei20050/Wdxx
 public static IEnumerable <user> GetUser()
 {
     return(CoreWebApi.Send <IEnumerable <user> >(Url));
 }
コード例 #5
0
ファイル: Api.cs プロジェクト: wei20050/Wdxx
 public static DateTime GetTime()
 {
     return(CoreWebApi.Send <DateTime>(Url));
 }
コード例 #6
0
ファイル: Api.cs プロジェクト: wei20050/Wdxx
 public static string GetTest()
 {
     return(CoreWebApi.Send <string>(Url, null, null, 1));
 }