示例#1
0
 internal bool AddRecord(string newRecord)
 {
     try
     {
         int DRID = service.AddRecord(UserID, newRecord);
         DisciplinaryRecord.Add(new Record(DRID, newRecord));
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }