public Offer GetOffer(Guid id)
        {
            OfferTableEntity offer = (from e in this.tableContext.CreateQuery <OfferTableEntity>(OfferTableName)
                                      where e.PartitionKey == id.ToString()
                                      select e).FirstOrDefault();

            Offer off = null;

            if (offer != null)
            {
                off = OfferTableEntity.RetreiveOfferFromString(offer.OfferAsString);
            }
            return(off);
        }
        public bool SaveOffer(Offer off)
        {
            OfferTableEntity offer = new OfferTableEntity(off);

            offer.PartitionKey = off.Id.ToString();
            offer.RowKey       = off.Id.ToString();
            offer.Timestamp    = this.manager.GetCurrentTime();


            this.tableContext.AddObject(OfferTableName, offer);
            //this.tableContext.SaveChanges();
            //return true;
            DataServiceResponse response = this.tableContext.SaveChangesWithRetries(SaveChangesOptions.Batch);

            return(response.BatchStatusCode == Http200);
        }