public bool SetAgenda(Agenda agenda) { Configuration.Set(agenda); WindowsServiceBase.Instance.Agenda = agenda; WindowsServiceBase.Instance.TimmerTick(null); return true; }
public Agenda GetAgenda() { Agenda agenda; try { openChannel(); agenda = channel.GetAgenda(); } catch (Exception ex) { closeChannel(); agenda = new Agenda(); } return agenda; }
public bool SetAgenda(Agenda agenda) { try { openChannel(); return channel.SetAgenda(agenda); } catch (Exception ex) { closeChannel(); agenda = new Agenda(); } return false; }