This commit is contained in:
2018-08-28 15:03:55 +00:00
parent a4e9ed7828
commit d995ce608b
6 changed files with 38 additions and 49 deletions

View File

@@ -1,20 +0,0 @@
using EnumsNET;
using System.Collections.Generic;
namespace AyaNova.Api.ControllerHelpers
{
internal static class UserLocaleIdFromContext
{
internal static long LocaleId(IDictionary<object, object> HttpContextItems)
{
long? l = (long?)HttpContextItems["AY_LOCALE_ID"];
if (l==null)
return 0L;
return (long)l;
}
}
}//eons