This commit is contained in:
Jamie 2018-04-24 08:09:11 +01:00
commit f62e97bb32
2 changed files with 19 additions and 9 deletions

View file

@ -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;
}
}
}