Exemplo n.º 1
0
        public async Task OnInit()
        {
            await SetActivityParticipations();
            await SetEventParticipations();

            Activities         = (await _activityManagementService.GetAll()).Where(i => i.Active);
            Events             = (await _eventManagementService.GetAll()).Where(i => i.Active);
            EventValidation    = new EventParticipationValidation(Events);
            ActivityValidation = new ActivityParticipationValidation(Activities);
        }
Exemplo n.º 2
0
 public async Task OnInit()
 {
     Events = await _eventManagementService.GetAll();
 }
Exemplo n.º 3
0
 public Task <IEnumerable <Event> > GetAll()
 {
     return(_proxy.GetAll());
 }