public void Confirm(UpdateCarpetRequest carpetRequest) { CarpetService.UpdateCarpetAsync(carpetRequest); ModalInstance.CloseAsync(); }