public async Task <EventModel> GetEvent(int eventId, int tenantId)
 {
     return(EventModels.Where(i => i.EventId == eventId).FirstOrDefault());
 }
Пример #2
0
 public async Task <List <EventModel> > GetEventsForTenant(int tenantId)
 {
     return(EventModels.Where(i => i.VenueId == tenantId).ToList());
 }