private void SupplierLoadData() { ICompany CompnyFunction = new CompanyService(); List<CompanyDTO> ListOfCompanies = CompnyFunction.GetCompanies(); gridSuppliers.DataSource = ListOfCompanies; }
private void LoadData() { ICompany CompanyService = new CompanyService(); dataGridViewMainAllCompanies.DataSource = CompanyService.GetCompaniesWithCategories(); }