Exemplo n.º 1
0
 public Task <ApplicationRole> FindByNameAsync(string roleName)
 {
     return(Task.FromResult(new ApplicationRole(_dataProvider.GetRoleByName(roleName))));
 }