Beispiel #1
0
        public PartialViewResult ShowDeslocTimeLine(string tdoente, string doente, string numCons)
        {
            DeslocHistModel myModal = new DeslocHistModel();

            myModal.LoadHistDesloc(tdoente, doente, numCons);
            return(PartialView("_timeLine", myModal.listDesloc));
        }
        public void LoadHistDeslocTest()
        {
            //Mock DB
            DeslocHistModel teste    = new DeslocHistModel();
            bool            resposta = teste.LoadHistDesloc("Teste", "Teste", "Teste");

            Assert.IsTrue(!resposta);
        }