private HttpMethod GetHttpMethod() { var attribute = metadata.ServiceMethod.GetCustomAttribute<HttpMethodAttribute>(); return attribute == null ? httpMethodConvention.From(metadata) : attribute.HttpMethod; }