Beispiel #1
0
 public SupplierObject GetSupplierByEmail(string email)
 {
     SupplierObject supplier;
     try
     {
         supplier = new SupplierDataService().GetSupplierByEmail(email);
     }
     catch (System.Exception exception1)
     {
         System.Exception innerException = exception1;
         throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
     return supplier;
 }
Beispiel #2
0
 public SupplierObjectCollection GetAll()
 {
     SupplierObjectCollection suppliers;
     try
     {
         suppliers = new SupplierDataService().GetAll();
     }
     catch (System.Exception exception1)
     {
         System.Exception innerException = exception1;
         throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException);
     }
     return suppliers;
 }