Beispiel #1
0
 public static StoreTransaction GetById(int id)
 {
     using (StoreTransactionServiceClient client = new StoreTransactionServiceClient())
     {
         return(new StoreTransaction(client.GetStoreTransactionById(id)));
     }
 }
Beispiel #2
0
 public StoreTransaction()
 {
     using (StoreTransactionServiceClient client = new StoreTransactionServiceClient())
     {
         Proxy = client.CreateStoreTransaction();
         client.Close();
     }
 }