public IActionResult DeleteConfirmed(int id) { var trainer = _iTrainerManager.GetById(id); _iTrainerManager.Remove(trainer); return(RedirectToAction(nameof(Index))); }