public void TestCasesResult() { var result = repository.GetCases(); Assert.IsNotNull(result); Assert.IsTrue(result.Count() > 0); }
public PartialViewResult Filter(string region) { List <dtoReport> model = repositoryCase.GetCases(region, 10); return(PartialView("partial/RegionDetail", model)); }