public async Task Replace(RateNotificationTask task)
 {
     try
     {
         await client.ReplaceDocumentAsync(
             UriFactory.CreateDocumentUri(DatabaseId, CollectionId, task.Id), task);
     }
     catch (DocumentClientException e)
     {
         if (e.StatusCode != System.Net.HttpStatusCode.NotFound)
         {
             throw;
         }
     }
 }
        public async Task <string> SaveRateNotificationTaskAsync(RateNotificationTask rateNotificationTask)
        {
            await client.CreateDocumentAsync(UriFactory.CreateDocumentCollectionUri(DatabaseId, CollectionId), rateNotificationTask);

            return(string.Empty);
        }