public IActionResult Edit(int id) { var user = _permissionApiClient.GetPermission(id).Result; return(PartialView(user)); }
public async Task <PermissionDto> GetPermission(int id) { return(await _PermissionApiClient.GetPermission(id)); }