This commit is contained in:
2018-09-18 23:15:02 +00:00
parent 6771c9f2a1
commit 02d4084826
2 changed files with 422 additions and 5 deletions

View File

@@ -164,6 +164,16 @@ namespace AyaNova.Biz
}
//Get the CJKIndex value for the locale specified
internal static async Task<bool> GetCJKIndex(long localeId, AyContext ct=null)
{
if(ct==null)
ct = ServiceProviderProvider.DBContext;
var ret = await ct.Locale.Where(x => x.Id == localeId).Select(m=>m.CjkIndex).SingleOrDefaultAsync();
return ret;
}
/// <summary>
/// Get the value of the key provided in the default locale chosen
/// </summary>