예제 #1
0
 /// <summary>
 /// Detaches all User's access to the supplied recording and marks it for deletion
 /// </summary>
 /// <param name="AccessingUser"></param>
 /// <param name="CurrentRecording"></param>
 public bool DeleteRecording(OCL.User AccessingUser,OCL.Recording CurrentRecording)
 {
     try
     {
         if(CurrentRecording.SessionID != this.mvarID)
         {
             return false;
         }
         Functions F = new Functions();
         F.DeleteRecording(AccessingUser,CurrentRecording);
         return true;
     }
     catch(Exception Err)
     {
         throw new Exception(Err.Message);
     }
 }