From 2b3e8644f4e581874d54ac3950603edafba72bd6 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 10 Dec 2020 11:54:03 +0200 Subject: Implemented User get query; disabled friends list --- API/Controllers/UserController.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'API/Controllers') 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 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 +} -- cgit v1.2.3