aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Controllers/RoleController.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/RoleController.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/RoleController.cs')
-rw-r--r--src/DevHive.Web/Controllers/RoleController.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DevHive.Web/Controllers/RoleController.cs b/src/DevHive.Web/Controllers/RoleController.cs
index d710f5a..0a8f7a1 100644
--- a/src/DevHive.Web/Controllers/RoleController.cs
+++ b/src/DevHive.Web/Controllers/RoleController.cs
@@ -26,9 +26,9 @@ namespace DevHive.Web.Controllers
[HttpPost]
public async Task<IActionResult> Create([FromBody] CreateRoleModel createRoleModel)
{
- RoleModel roleServiceModel =
- this._roleMapper.Map<RoleModel>(createRoleModel);
-
+ RoleModel roleServiceModel =
+ this._roleMapper.Map<RoleModel>(createRoleModel);
+
bool result = await this._roleService.CreateRole(roleServiceModel);
if (!result)
@@ -49,7 +49,7 @@ namespace DevHive.Web.Controllers
[HttpPut]
public async Task<IActionResult> Update(Guid id, [FromBody] UpdateRoleModel updateRoleModel)
{
- RoleModel roleServiceModel =
+ RoleModel roleServiceModel =
this._roleMapper.Map<RoleModel>(updateRoleModel);
roleServiceModel.Id = id;