private async void LoadEvents(IProvideEventData provider) { Events = await provider.GetEventsAsync(); CurrentEvent = Events.FirstOrDefault(); }
public EventViewModel(IProvideEventData eventProvider) { LoadEvents(eventProvider); }
private async void LoadEvents(IProvideEventData provider) { Events = await provider.GetEventsAsync(); CurrentEvent = Events.FirstOrDefault(); }
public EventViewModel(IProvideEventData eventProvider) { LoadEvents(eventProvider); }