AddOrUpdate() public method

public AddOrUpdate ( Notification notification ) : string
notification AzureTicker.Worker.Model.TableStorage.Notification
return string
 public string Post(Notification notification)
 {
     string retVal = string.Empty;
     notification.PartitionKey = "partitionName";
     using (INotificationRepository rep = new NotificationRepository())
     {
         rep.AddOrUpdate(notification);
         rep.SaveChanges();
         retVal = notification.RowKey;
     }
     return retVal;
 }