private static string TranslatePart(BlogApiPart part) { return(ToEnumString(typeof(BlogApiPart), part)); }
public static string ApiPath(this BlogApiPart blogPart, string fullName, string suffix = null) { return($"blog/{fullName}/{TranslatePart(blogPart)}{(string.IsNullOrWhiteSpace(suffix) ? string.Empty : "/")}{suffix}"); }