DeleteBranch

Yes, Delete

Warning

This action cannot be undone. The treatment and its associated image will be permanently deleted.

BranchToDelete

BranchName

Tanta Branch

Location

Stadium Street – Emaar Plaza Towers, behind Ibn Sina Hospital – opposite Premium Gym, first floor

Phone

01002702498

OperatingHours

09:00 AM - 09:00 PM

Status

Active

DeleteConfirmationQuestion

[SupplyParameterFromQuery] private int Id { get; set; } protected override async Task OnInitializedAsync() { using var context = DbFactory.CreateDbContext(); pinkbranch = await context.PinkBranches.FirstOrDefaultAsync(m => m.Id == Id); if (pinkbranch is null) { NavigationManager.NavigateTo("notfound"); } } private async Task DeletePinkBranch() { using var context = DbFactory.CreateDbContext(); context.PinkBranches.Remove(pinkbranch!); await context.SaveChangesAsync(); NavigationManager.NavigateTo("/pinkbranches"); } }