public async Task SendPDF() { dialogService.ShowProgress(); RequestSendServiceFile request = new RequestSendServiceFile { Code = ServiceHistorySelected.FileCode, User = loginViewModel.User.UserName }; ResponseSendServiceFile response = await apiService.SendServiceFile(request); dialogService.HideProgress(); ValidateResponseSendServiceFile(response); }
private void ValidateResponseSendServiceFile(ResponseSendServiceFile response) { dialogService.ShowMessage(response.Title, response.Message); }