This commit is contained in:
2021-12-22 23:36:12 +00:00
parent 840675773b
commit 1aa8d539d7
2 changed files with 42 additions and 7 deletions

View File

@@ -52,6 +52,13 @@ namespace AyaNova.Util
return decimal.Parse(s);
}
internal long? GetAsLong(string key, long? id = 0)
{
var s = Get(key, id);
if (string.IsNullOrWhiteSpace(s)) return null;
return long.Parse(s);
}
}//eoc
}//eons