Ejemplo n.º 1
0
        public void DeleteEventClick(int?eventId)
        {
            Boolean result = false;

            result = _eventDAL.DeleteEventClick(eventId);
            if (result)
            {
                JCHMessageBox.Show("Event Successfully Deleted");
                if (Events.Count > 0)
                {
                    LoadEvents(Currentdate.ToString());
                }
                if (Events.Count == 0)
                {
                    _winService.Close(ViewKeys.EventList);
                }
            }
        }