private async void LoadCompanyInfo_Click(object sender, RoutedEventArgs e) { var companyinfo = await CompanyProcessor.LoadCompanyInfo(); // id.Text = companyinfo.Id.ToString(); compname.Text = companyinfo.Compname.ToString(); }
private async Task LoadFromServerToGrid() { await CompanyProcessor.LoadCompanies(); await RepresentativeProcessor.LoadRepresentatives(); await InvoiceProcessor.LoadInvoices(); }