コード例 #1
0
 public async Task<IList<EventModel>> GetEventsByCategory(int categoryId)
 {
     IEventHandler eventHandler = new ApisIs.MovieHandler();
     // TODO: KRAPP RENAME TO *ASYNC
     return await eventHandler.GetEvents();
 }
コード例 #2
0
 public async Task<IList<EventModel>> GetEvents(int categoryId, string location)
 {
     IEventHandler eventHandler = new ApisIs.MovieHandler();
     return await eventHandler.GetEvents();
 }