public void UpdateRoleOperationStatus(Entities.RoleOperationStatusEntity entity) { // Now update the entity var updateOp = TableOperation.Merge(entity); _azureTable.Execute(updateOp); }
public Entities.RoleOperationStatusEntity CreateRoleOperationStatus(Entities.RoleOperationStatusEntity entity) { // Next add the batch to the table var insertOp = TableOperation.Insert(entity); _azureTable.Execute(insertOp); // Return the entity with the updated ID return(entity); }