Exemple #1
0
        public void HandleRequest(IRequest request)
        {
            InsuranceHelper.LoadInsurancePrices();

            var result = InsuranceHelper.GetInsuranceState();

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