示例#1
0
        public bool AddEvent(EventModelBase eventForAdding)
        {
            if (eventForAdding == null)
            {
                throw new ArgumentNullException("eventForAdding");
            }

            Events.Add(eventForAdding);

            return(_writer.WriteEventsToExcel(Events));
        }
示例#2
0
 private void butSaveExcelExecute()
 {
     _writerExcel.WriteEventsToExcel(Events);
 }