diff options
Diffstat (limited to 'API/Controllers')
| -rw-r--r-- | API/Controllers/UserController.cs | 8 |
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 +} |
