Esempio n. 1
0
        public async Task Execute(IDispatcher dispatcher)
        {
            var reportDescriptors = await _client.GetReportTypes();

            dispatcher.Dispatch(new ReceiveReportDescriptorsAction
            {
                ReportDescriptors = reportDescriptors
            });
        }
 public async Task Execute(IDispatcher dispatcher)
 {
     await Utils.ExecuteWithLoading(dispatcher, async() =>
     {
         var reportDescriptors = await _client.GetReportTypes();
         dispatcher.Dispatch(new ReceiveReportDescriptorsAction
         {
             ReportDescriptors = reportDescriptors
         });
     });
 }