public async Task <Boolean> CheckPermissionsAsync(Int32 accessAppId, params Int32[] roleIds)
 {
     Check.IfNullOrZero(accessAppId);
     Check.IfNullOrZero(roleIds);
     return(await _securityContext.CheckPermissionsAsync(accessAppId, roleIds));
 }