This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user