namespace EnotaryoPH.Web.Common.Extensions
{
    public static class StringExtensions
    {
        public static string DefaultIfEmpty(this string s, string defaultValue) => !string.IsNullOrWhiteSpace(s) ? s : (defaultValue ?? string.Empty);
    }
}