public void Ship(Order order)
 {
     // seven web service
     var client = new HttpClient();
     var response = client.PostAsync("http://api.seven.com/Order", order, new JsonMediaTypeFormatter());
     response.Result.EnsureSuccessStatusCode();
 }
 public static IStoreService GetStoreService(Order order)
 {
     if (order.StoreType != StoreType.Family)
     {
         return sevenService ?? new SevenService();
     }
     else
     {
         return familyService ?? new FamilyService();
     }
 }