示例#1
0
 public UnknownObject GetUnknownByEmail(string email)
 {
     UnknownObject unknown;
     try
     {
         unknown = new UnknownDataService().GetUnknownByEmail(email);
     }
     catch (System.Exception exception1)
     {
         System.Exception innerException = exception1;
         throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
     return unknown;
 }
示例#2
0
 public UnknownObjectCollection GetAll()
 {
     UnknownObjectCollection unknowns;
     try
     {
         unknowns = new UnknownDataService().GetAll();
     }
     catch (System.Exception exception1)
     {
         System.Exception innerException = exception1;
         throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
     return unknowns;
 }