From faa2e47b6718c59feadecea176020f3326076d5d Mon Sep 17 00:00:00 2001 From: transtrike Date: Thu, 17 Dec 2020 23:05:20 +0200 Subject: Implemented Friends layer --- src/DevHive.Web/Controllers/UserController.cs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/DevHive.Web/Controllers/UserController.cs') 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 AddAFriend(Guid userId, [FromBody] IdModel friendIdModel) - { - return await this._userService.AddFriend(userId, friendIdModel.Id) ? - new OkResult() : - new BadRequestResult(); - } - //Read [HttpGet] public async Task GetById(Guid id) -- cgit v1.2.3