public void AddDelete() { var operation = new HydraOperation { Method = HttpMethod.DELETE }; OperationList.Add(operation); }
public void AddGet() { var operation = new HydraOperation { Method = HttpMethod.GET }; OperationList.Add(operation); }
public void AddEmptyPut() { var operation = new HydraOperation { Method = HttpMethod.PUT }; OperationList.Add(operation); }
public void AddGet(IEnumerable <SupportingProperty> properties) { var operation = new HydraOperation { Method = HttpMethod.GET }; properties.ToList().ForEach(operation.AddPropery); OperationList.Add(operation); }