public async Task <List <Events> > GetEvents() { var response = await eventsServices.GetEvents(); if (!response.IsSuccess) { } var events = (List <Events>)response.Result; return(events); }
public List <Repository.Models.Events> GetEvents() { return(_eventsServices.GetEvents()); }