public CustomersInfo GetAllCustomers(License license) { LicenseCheck(license.LicenseKey, 1); CustomersInfo customersInfo = new CustomersInfo(customerMethods.GetAll()); customersInfo.LicenseKey = license.LicenseKey; return(customersInfo); }