public void Execute() { System.Console.Write("Dati ID-ul ofertei: "); int id = int.Parse(System.Console.ReadLine()); try { service.DeleteOffert(service.FindOneOffer(id)); System.Console.WriteLine("Oferta sters cu succes!"); } catch (Exception e) { System.Console.WriteLine("Stergere esuata! " + e.Message); } System.Console.WriteLine(); }