Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Controllers / UserController.cs
diff options
context:
space:
mode:
Commit61c51944844ed404cd4f174440d6e81b2a8591ba (patch)
Author
 transtrike <transtrike@gmail.com>
2021-01-13 23:06:18 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-01-13 23:06:18 +0200
Files52384addf959a81d63d91702399f47e07bf02ded /src/DevHive.Web/Controllers/UserController.cs
DevHive-61c51944844ed404cd4f174440d6e81b2a8591ba.tar
DevHive-61c51944844ed404cd4f174440d6e81b2a8591ba.tar.gz
DevHive-61c51944844ed404cd4f174440d6e81b2a8591ba.zip
Parent623bb66183be1349325ca9364f5bbf2e451f7578 (diff)
Fixed sln-wide code formatting
1 files changed, 3 insertions, 3 deletions
-rw-r--r--src/DevHive.Web/Controllers/UserController.cs6
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
}
}