Method SetBodyTemplate(IRouteDefinition, TextSource, MediaType, Action<TemplateArgs>?)
Renders the template into the message body; ContentType follows mediaType.
public static IRouteDefinition SetBodyTemplate(this IRouteDefinition route, TextSource source, MediaType mediaType, Action<TemplateArgs>? args = null)