Esempio n. 1
0
        public void HandleRequest(IRequest request)
        {
            InsuranceHelper.LoadInsurancePrices();

            var result = InsuranceHelper.GetInsuranceState();

            Message.Builder.FromRequest(request).WithData(result).Send();
        }
Esempio n. 2
0
 public void HandleRequest(IRequest request)
 {
     Message.Builder.FromRequest(request)
     .WithData(InsuranceHelper.GetInsuranceState())
     .Send();
 }