public void Get_IdIsEqualToTwo_ReturnsFallTerm() { // arrange var expected = FakeTermRepository.terms[1]; var termId = 2; // act var actual = _termService.Get(termId); // assert Assert.AreEqual(expected, actual); }
public ActionResult Term() { ViewBag.Term = termService.Get().OrderBy(o => o.Orders); return(View()); }