private async Task DeleteItemsAsync(IEnumerable <VendorModel> models)
 {
     foreach (var model in models)
     {
         await VendorService.DeleteVendorAsync(model);
     }
 }
        public async Task ShowDeleteVendorModal(Guid Id)
        {
            var formModal = Modal.Show <Confirmation>("Are you sure you want to Delete?");
            var result    = await formModal.Result;

            if (result.Cancelled)
            {
            }
            else
            {
                await VendorService.DeleteVendorAsync(Id);
                await Refresh();
            }
        }