31 - Create Controller class
Context
We need a class for filtering and sorting of events. Events will be stored in a vector so that is the object we will be operating on. We want two methods: one to sort the events by date/popularity and one to filter events by tags (given as a vector of strings).
TODO
-
Create EventController class. -
Create method for sorting by date or popularity. -
Create method for filtering by tags. -
Create tests for associated methods. -
Peer review and merge.
Edited by Zoya Zarei-Joorshari