public ActionResult Upcoming() { var conferences = _conferenceRepository.GetConferences(); return(View(conferences)); }
// GET: api/ConferencesService public IEnumerable <ConferenceModel> GetConferences() { return(repo.GetConferences()); }
public void getAll() { Assert.IsTrue(repo.GetConferences().Count() > 0); }