Exemplo n.º 1
0
        public void TestCasesResult()
        {
            var result = repository.GetCases();

            Assert.IsNotNull(result);
            Assert.IsTrue(result.Count() > 0);
        }
Exemplo n.º 2
0
        public PartialViewResult Filter(string region)
        {
            List <dtoReport> model = repositoryCase.GetCases(region, 10);

            return(PartialView("partial/RegionDetail", model));
        }