public void Get_Returns_List_Of_Instructions() { var expected = new List <Instructions>(); repo.GetAll().Returns(expected); var result = underTest.Get(); Assert.IsType <List <Instructions> >(result.Value); }
public ActionResult <List <Instructions> > Get() { return(repo.GetAll()); }