diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-17 23:05:20 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-17 23:05:20 +0200 |
| commit | faa2e47b6718c59feadecea176020f3326076d5d (patch) | |
| tree | 6c67123d1ebcc897bb80a640108d5e1d5d636a0c /src/DevHive.Web/Controllers/UserController.cs | |
| parent | b24b9b1ffa528f29aa87f0e48097a35386fbb8b1 (diff) | |
| download | DevHive-faa2e47b6718c59feadecea176020f3326076d5d.tar DevHive-faa2e47b6718c59feadecea176020f3326076d5d.tar.gz DevHive-faa2e47b6718c59feadecea176020f3326076d5d.zip | |
Implemented Friends layer
Diffstat (limited to 'src/DevHive.Web/Controllers/UserController.cs')
| -rw-r--r-- | src/DevHive.Web/Controllers/UserController.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/DevHive.Web/Controllers/UserController.cs b/src/DevHive.Web/Controllers/UserController.cs index cdb8dc1..e339f70 100644 --- a/src/DevHive.Web/Controllers/UserController.cs +++ b/src/DevHive.Web/Controllers/UserController.cs @@ -54,15 +54,6 @@ namespace DevHive.Web.Controllers return new CreatedResult("Register", tokenWebModel); } - [HttpPost] - [Route("AddAFriend")] - public async Task<IActionResult> AddAFriend(Guid userId, [FromBody] IdModel friendIdModel) - { - return await this._userService.AddFriend(userId, friendIdModel.Id) ? - new OkResult() : - new BadRequestResult(); - } - //Read [HttpGet] public async Task<IActionResult> GetById(Guid id) |
