public static decimal LaskeVeroprosentti(VerotettavaTulomaara lahtoarvot) { BasicHttpBinding basicHttpBinding = new BasicHttpBinding(); EndpointAddress endpointAddress = new EndpointAddress("http://localhost:56071/ADMCompletedDemoService.svc"); IADMCompletedDemoService service = new ChannelFactory< IADMCompletedDemoService >(basicHttpBinding, endpointAddress).CreateChannel(); var serviceResponse = service.LaskeVeroprosentti(lahtoarvot); return serviceResponse; }
public decimal LaskeVeroprosentti(VerotettavaTulomaara lahtoarvot) { // NOTE! Business logic is properly routed from service layer to business logic layer return BusinessLogicHandler.ADMCompletedDemoService_LaskeVeroprosentti(lahtoarvot); }