mirror of https://github.com/abpframework/abp
parent
131d5b5522
commit
e49822cd4e
@ -1,14 +0,0 @@
|
||||
using Volo.Abp.Threading;
|
||||
|
||||
namespace Volo.Abp.Identity
|
||||
{
|
||||
public static class IdentityRoleRepositoryExtensions
|
||||
{
|
||||
public static IdentityRole FindByNormalizedName(this IIdentityRoleRepository roleRepository, string normalizedRoleName)
|
||||
{
|
||||
return AsyncHelper.RunSync(() => roleRepository.FindByNormalizedNameAsync(normalizedRoleName));
|
||||
}
|
||||
|
||||
//TODO: Other sync extension methods
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue