public bool AddEvent(EventModelBase eventForAdding) { if (eventForAdding == null) { throw new ArgumentNullException("eventForAdding"); } Events.Add(eventForAdding); return(_writer.WriteEventsToExcel(Events)); }
private void butSaveExcelExecute() { _writerExcel.WriteEventsToExcel(Events); }