You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/Infrastructure/Extensions/UrlExtensions.cs

20 lines
450 B

using System;
using System.Collections;
using System.Linq;
using Flurl;
namespace Infrastructure.Extensions
{
public static class UrlExtensions
{
public static string SetParam(this string url, string key, object value)
{
return url.SetQueryParam(key, value);
}
public static string RemoveParam(this string url, string key)
{
return url.RemoveQueryParam(key);
}
}
}