mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
refactor: moved markdown method inside join data
feat: proper error handling
This commit is contained in:
parent
578754de85
commit
fea3189a18
2 changed files with 72 additions and 45 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue