BlueCollar.Dashboard.DashboardRouter.NormalizeVerb C# (CSharp) Method

NormalizeVerb() public static method

Normalizes an HTTP verb in preparation for route matching.
public static NormalizeVerb ( string verb ) : string
verb string The HTTP verb string to normalize.
return string
        public static string NormalizeVerb(string verb)
        {
            return (!string.IsNullOrEmpty(verb) ? verb : "GET").ToUpperInvariant();
        }