예제 #1
0
        public void SelecionarTodosAgendaTest()
        {
            AgendaController target   = new AgendaController(); // TODO: Initialize to an appropriate value
            List <Agenda>    expected = null;                   // TODO: Initialize to an appropriate value
            List <Agenda>    actual;

            actual = target.SelecionarTodosAgenda();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
예제 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            MostraAgenda.DataSource = agendaController.SelecionarTodosAgenda();
            MostraAgenda.DataBind();



            if (!Page.IsPostBack)
            {
                agendaController.VerificaEmail(DateTime.Now.DayOfYear, Convert.ToString(DateTime.Now));
            }
        }