This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user