From d4ac46fcfc55b8a68f02ee8d19ddb4c58932a14b Mon Sep 17 00:00:00 2001
From: adnansetiawan <adnansetiawan@gmail.com>
Date: Mon, 30 Mar 2020 12:35:50 +0700
Subject: [PATCH] show user role detail

---
 .../EasyParking/EasyParking.API/Controllers/UserController.cs   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backendApi/easyparking/EasyParking/EasyParking.API/Controllers/UserController.cs b/backendApi/easyparking/EasyParking/EasyParking.API/Controllers/UserController.cs
index d0c08747..4c6be38f 100644
--- a/backendApi/easyparking/EasyParking/EasyParking.API/Controllers/UserController.cs
+++ b/backendApi/easyparking/EasyParking/EasyParking.API/Controllers/UserController.cs
@@ -44,7 +44,7 @@ namespace EasyParking.API.Controllers
         public IActionResult Get()
         {
             var users = _userService.GetUsers();
-            var response = users.Select(x => x.MapToDto()).ToList();
+            var response = users.Select(x => x.MapToDetailDto()).ToList();
             return new OkObjectResult(response);
         }
 
-- 
GitLab