mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
parent
6806b97c1b
commit
f62e97bb32
2 changed files with 19 additions and 9 deletions
|
@ -65,5 +65,15 @@ namespace Ombi.Helpers
|
|||
securePassword.MakeReadOnly();
|
||||
return securePassword;
|
||||
}
|
||||
|
||||
public static int IntParseLinq(string stringIn)
|
||||
{
|
||||
if (int.TryParse(stringIn, out var result))
|
||||
{
|
||||
return result;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue