public ActionResult Delete(int id, Instrument instrument) { try { _instrumentRepository.Remove(id); return(RedirectToAction(nameof(Index))); } catch { return(View()); } }
public ActionResult Delete(int id, Instrument instrument) { try { _instrumentRepository.Remove(id); return(RedirectToAction(nameof(Index))); } catch { return(View()); } }