public String providerAddress(Provider p) { this.address = providerFacade.getProviderAddress(p); return "address"; }
public String findProvider(Long id) { this.provider = providerFacade.findProvider(id); return "provider"; }
public String allProviders() { this.providers = providerFacade.getAllProviders(); return "providers"; }
public String createProvider() { this.address = new Address(street, city, cap, country); this.provider = providerFacade.createProvider(name, phoneNumber, email, vatin, address); return "provider"; }