示例#1
0
 public static void DeleteDoctor(int pId)
 {
     if (LUser.FetchByID(pId) != null)
     {
         LUser.Delete(pId);
     }
 }
示例#2
0
 public static void UpdateDoctor(LUser pitems)
 {
     try
     {
         if (LUser.FetchByID(pitems.UserId) != null)
         {
             pitems.IsNew = false;
             pitems.Save();
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }