예제 #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));
 }