public void reopen() { if (myTicket.Solved == false) { myTicket.setStatus(myTicket.oPEN); Console.WriteLine("The ticket is opened."); } else { Console.WriteLine("The ticket is already solved! You cannot reopen it!"); } }
public void closeTicket() { myTicket.setStatus(myTicket.cLOSE); Console.WriteLine("The ticket has been closed."); }