public async Task <IActionResult> Put([FromBody] PermissionTypeDto permissionTypeDto) { await _permissionTypeService.UpdatePermissionType(permissionTypeDto); return(Ok()); }
public async Task <IActionResult> Put([FromBody] PermissionTypeDto permissionTypeDto) { var result = await _permissionTypeService.UpdatePermissionType(permissionTypeDto); return(StatusCode(result.StatusCode, result.HttpResponse)); }