public async Task <IActionResult> Put([FromBody] UserRole userRole) { try { await _userRoleService.Edit(userRole); return(Ok("Data berhasil diupdate")); } catch (Exception ex) { return(BadRequest(ex.Message)); } }