This commit is contained in:
@@ -136,7 +136,7 @@ namespace AyaNova.Api.Controllers
|
||||
TranslationKeysToFetch.Add("UserTypeNotService");
|
||||
TranslationKeysToFetch.Add("UserTypeCustomer");
|
||||
TranslationKeysToFetch.Add("UserTypeHeadOffice");
|
||||
TranslationKeysToFetch.Add("UserTypesSubContractor");
|
||||
TranslationKeysToFetch.Add("UserTypeServiceContractor");
|
||||
TranslationKeysToFetch.Add("UserTypeUtility");
|
||||
var LT = TranslationBiz.GetSubsetStaticAsync(TranslationKeysToFetch, TranslationId).Result;
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace AyaNova.Api.Controllers
|
||||
ReturnList.Add(new NameIdItem() { Name = LT["UserTypeCustomer"], Id = (long)UserType.Customer });
|
||||
ReturnList.Add(new NameIdItem() { Name = LT["UserTypeHeadOffice"], Id = (long)UserType.HeadOffice });
|
||||
ReturnList.Add(new NameIdItem() { Name = LT["UserTypeUtility"], Id = (long)UserType.Utility });
|
||||
ReturnList.Add(new NameIdItem() { Name = LT["UserTypesSubContractor"], Id = (long)UserType.ServiceContractor });
|
||||
ReturnList.Add(new NameIdItem() { Name = LT["UserTypeServiceContractor"], Id = (long)UserType.ServiceContractor });
|
||||
}
|
||||
else if (keyNameInLowerCase == StringUtil.TrimTypeName(typeof(AuthorizationRoles).ToString()).ToLowerInvariant())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user