public void DataRepositoryCatalogTest() { List <Data.Event> catalog = repository.GetEventCatalog(); Assert.AreEqual(catalog.Find(x => x.Id == 1), repository.GetEvent(1)); }
public List <Data.Event> GetEventCatalog() { return(repository.GetEventCatalog()); }