Exemplo n.º 1
0
 public async Task <IActionResult> UsersList()
 {
     // retrieve all users with their role
     return(Json(new { data = await _roleRepository.AllUserAsync() }));
 }