Exemple #1
0
 private AllAccountsInfo ListAllRoles()
 {
     using (var scope = WebHost.Services.CreateScope()) {
         var services = scope.ServiceProvider;
         manager = services.GetService <IAccountManagementService>();
         return(manager.ListAllUsers());
     }
 }
Exemple #2
0
 public AllAccountsInfo ListAllAccountRoles()
 {
     return(_accountManager.ListAllUsers());
 }