public Task <TRole> FindByIdAsync(string roleId) { TRole result = roleTable.GetRoleById(roleId) as TRole; return(Task.FromResult <TRole>(result)); }
public Task <IdentityRole> FindByIdAsync(String roleId) { IdentityRole result = _roleTable.GetRoleById(roleId) as IdentityRole; return(Task.FromResult <IdentityRole>(result)); }