aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2020-12-10 11:54:03 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2020-12-10 11:54:03 +0200
commit2b3e8644f4e581874d54ac3950603edafba72bd6 (patch)
treebc11cfc6f9dc3f2df8db92376f3a0e710352b002 /API/Controllers
parent2d1a5bdcafd30dca9d21ac765d9b5f6103129902 (diff)
downloadDevHive-2b3e8644f4e581874d54ac3950603edafba72bd6.tar
DevHive-2b3e8644f4e581874d54ac3950603edafba72bd6.tar.gz
DevHive-2b3e8644f4e581874d54ac3950603edafba72bd6.zip
Implemented User get query; disabled friends list
Diffstat (limited to 'API/Controllers')
-rw-r--r--API/Controllers/UserController.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/API/Controllers/UserController.cs b/API/Controllers/UserController.cs
index b3da7fc..ed3d917 100644
--- a/API/Controllers/UserController.cs
+++ b/API/Controllers/UserController.cs
@@ -30,7 +30,11 @@ namespace API.Controllers
}
//Read
- // [HttpGet]
+ [HttpGet]
+ public async Task<string> GetUserById(int id)
+ {
+ return await this._service.GetUserById(id);
+ }
// //Update
// [HttpPut]
@@ -38,4 +42,4 @@ namespace API.Controllers
// //Delete
// [HttpDelete]
}
-} \ No newline at end of file
+}