public IActionResult DeleteSupplierConfirm(long id) { if (ModelState.IsValid) { _workshopRepository.DeleteSupplier(id); } return(RedirectToAction(nameof(Index))); }