Ejemplo n.º 1
0
 public bool AddSource(OCL.User AccessingUser, OCL.Source S,out string ErrorMessage)
 {
     try
     {
         Functions F = new Functions();
         return F.AddObjectToGroup(AccessingUser,S,this, out ErrorMessage);
     }
     catch(Exception Err)
     {
         throw new ApplicationException(Err.Message,Err.InnerException);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Adds a Recording Session
 /// </summary>
 /// <param name="AccessingUser"></param>
 /// <param name="RS"></param>
 /// <returns></returns>
 public bool AddRecordingSession(OCL.User AccessingUser, OCL.RecordingSession RS,out string ErrorMessage)
 {
     try
     {
         Functions F = new Functions();
         return F.AddObjectToGroup(AccessingUser,RS,this, out ErrorMessage);
     }
     catch(Exception Err)
     {
         throw new ApplicationException(Err.Message);
     }
 }