// GET: Test public IActionResult Index() { var testList = _TestListRpository.GetTestList(); if (testList == null) { return(NotFound()); } return(View(testList)); }
public void GetTestList_Not_Null() { var data = repository.GetTestList(); Assert.NotNull(data); }