public void DeleteEroe(Eroe e) { if (e != null) { _repo.Delete(e); } else { Console.WriteLine("Eroe non valido"); } }
public bool DeleteEroe(Eroe eroe) { return(_repo.Delete(eroe)); }
public void DeleteEroe(Eroe e) { if (e != null) { _repo.Delete(e); } else { Console.WriteLine("Eroe non valido"); } }
public bool DeleteEroe(Eroe eroe) { return(_repo.Delete(eroe)); }