// GET: api/ConferencesService/5 public ConferenceModel GetConference(int id) { return(repo.GetConferenceById(id)); }
public void getById() { Assert.IsTrue(repo.GetConferenceById(1).ConferenceId == 1); }