public void createEvent(int Id, string Name, string Description, string StartDate) { Event ev = new Event(Id, Name, Description, StartDate, this.userId); ev.saveToFile(); }