aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Controllers/UserController.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-01-13 23:06:18 +0200
committertranstrike <transtrike@gmail.com>2021-01-13 23:06:18 +0200
commit61c51944844ed404cd4f174440d6e81b2a8591ba (patch)
tree52384addf959a81d63d91702399f47e07bf02ded /src/DevHive.Web/Controllers/UserController.cs
parent623bb66183be1349325ca9364f5bbf2e451f7578 (diff)
downloadDevHive-61c51944844ed404cd4f174440d6e81b2a8591ba.tar
DevHive-61c51944844ed404cd4f174440d6e81b2a8591ba.tar.gz
DevHive-61c51944844ed404cd4f174440d6e81b2a8591ba.zip
Fixed sln-wide code formatting
Diffstat (limited to 'src/DevHive.Web/Controllers/UserController.cs')
-rw-r--r--src/DevHive.Web/Controllers/UserController.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DevHive.Web/Controllers/UserController.cs b/src/DevHive.Web/Controllers/UserController.cs
index 0960915..26271b2 100644
--- a/src/DevHive.Web/Controllers/UserController.cs
+++ b/src/DevHive.Web/Controllers/UserController.cs
@@ -20,7 +20,7 @@ namespace DevHive.Web.Controllers
[ApiController]
[Route("/api/[controller]")]
[Authorize(Roles = "User")]
- public class UserController: ControllerBase
+ public class UserController : ControllerBase
{
private readonly UserService _userService;
private readonly IMapper _userMapper;
@@ -154,7 +154,7 @@ namespace DevHive.Web.Controllers
await this._userService.RemoveFriend(userId, friendId);
return new OkResult();
}
-
+
[HttpDelete]
[Route("RemoveLanguageFromUser")]
public async Task<IActionResult> RemoveLanguageFromUser(Guid userId, [FromBody] LanguageWebModel languageWebModel)
@@ -176,7 +176,7 @@ namespace DevHive.Web.Controllers
new OkResult() :
new BadRequestResult();
}
-
+
#endregion
}
}