refactor: moved markdown method inside join data

feat: proper error handling
This commit is contained in:
Trevor Payne
2022-10-21 16:20:14 -05:00
parent 578754de85
commit fea3189a18
2 changed files with 72 additions and 45 deletions

View File

@@ -16,5 +16,9 @@ namespace PepperDash.Essentials.Core
{
return string.IsNullOrEmpty(s.Trim()) ? null : s;
}
public static string ReplaceIfNullOrEmpty(this string s, string newString)
{
return string.IsNullOrEmpty(s) ? newString : s;
}
}
}