public AggregateReRoute AddUpstreamHttpMethod(string method) { if (!UpstreamHttpMethod.Contains(method)) { UpstreamHttpMethod += method + ","; } return(this); }
public AggregateReRoute RemoveUpstreamHttpMethod(string method) { if (!UpstreamHttpMethod.Contains(method)) { var removeMethod = "," + method; UpstreamHttpMethod = UpstreamHttpMethod.Replace(removeMethod, ""); } return(this); }