diff options
| author | transtrike <transtrike@gmail.com> | 2021-01-26 10:55:25 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-01-26 10:55:25 +0200 |
| commit | d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb (patch) | |
| tree | 0987a60a73a13ac7894ca01a1edc3274327d5cbe /src/DevHive.Web/Controllers/RoleController.cs | |
| parent | f910a2a63cb83b35c6589591400a69c8f7f7917c (diff) | |
| download | DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.tar DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.tar.gz DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.zip | |
Brief testing of GetPost
Diffstat (limited to 'src/DevHive.Web/Controllers/RoleController.cs')
| -rw-r--r-- | src/DevHive.Web/Controllers/RoleController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Web/Controllers/RoleController.cs b/src/DevHive.Web/Controllers/RoleController.cs index c68a32b..d8bb60c 100644 --- a/src/DevHive.Web/Controllers/RoleController.cs +++ b/src/DevHive.Web/Controllers/RoleController.cs @@ -40,7 +40,7 @@ namespace DevHive.Web.Controllers [Authorize(Policy = "User")] public async Task<IActionResult> GetById(Guid id) { - RoleServiceModel roleServiceModel = await this._roleService.GetRoleById(id); + ReadRoleServiceModel roleServiceModel = await this._roleService.GetRoleById(id); RoleWebModel roleWebModel = this._roleMapper.Map<RoleWebModel>(roleServiceModel); return new OkObjectResult(roleWebModel); |
