This commit is contained in:
2021-07-13 17:55:36 +00:00
parent 7d5b49c950
commit b1880ecf04
6 changed files with 40 additions and 11 deletions

View File

@@ -1,4 +1,3 @@
using EnumsNET;
using System.Collections.Generic;
using AyaNova.Biz;

View File

@@ -0,0 +1,17 @@
using System.Collections.Generic;
using AyaNova.Biz;
namespace AyaNova.Api.ControllerHelpers
{
internal static class UserTypeFromContext
{
internal static UserType Type(IDictionary<object, object> HttpContextItems)
{
return (UserType)HttpContextItems["AY_USER_TYPE"];
}
}
}//eons