public HttpResponseMessage UpdateYuanGongInfo(string YuanGongID, string Password, string Name, int ShopID, int YuanGongType, int WorkGroup, string Phone, int CategoryID)
 {
     return(YuanGongInfo.UpDateYuanGong(YuanGongID, Password, Name, 1, YuanGongType, WorkGroup, Phone, CategoryID).toJson());
 }
 public HttpResponseMessage DelYuanGong(string YuanGongID)
 {
     return(YuanGongInfo.DeleteYuanGong(YuanGongID).toJson());
 }
 public HttpResponseMessage RestYGPwd(string Phone, string OldPwd, string NewPwd)
 {
     return(YuanGongInfo.RestPwd(Phone, OldPwd, NewPwd).toJson());
 }
 public HttpResponseMessage AddYuanGong(string Password, string Name, int YuanGongType, int WorkGroup, string Phone, int CategoryID)
 {
     return(YuanGongInfo.AddYuanGong(Password, Name, YuanGongType, WorkGroup, Phone, CategoryID).toJson());
 }
 public HttpResponseMessage SelectTotalYuanGong()
 {
     return(YuanGongInfo.SelectTotalYuanGong().toJson());
 }
 public HttpResponseMessage SelectYuanGong(string Phone)
 {
     return(YuanGongInfo.SelectYuanGong(Phone).toJson());
 }