Prowlin.HttpInterface.GetHttpMethod C# (CSharp) Метод

GetHttpMethod() приватный Метод

private GetHttpMethod ( string method ) : string
method string
Результат string
        private string GetHttpMethod(string method)
        {
            string httpVerb;
            if(method == Method.Add) {
                httpVerb = "POST";
            }
            else {
                httpVerb = "GET";
            }
            return httpVerb;
        }