public ActionResult Configure()
 {
     var model = new AustraliaPostShippingModel();
     model.GatewayUrl = _australiaPostSettings.GatewayUrl;
     model.ShippedFromZipPostalCode = _australiaPostSettings.ShippedFromZipPostalCode;
     model.AdditionalHandlingCharge = _australiaPostSettings.AdditionalHandlingCharge;
     return View("Nas.Plugin.Shipping.AustraliaPost.Views.ShippingAustraliaPost.Configure", model);
 }
        public ActionResult Configure(AustraliaPostShippingModel model)
        {
            if (!ModelState.IsValid)
            {
                return Configure();
            }

            //save settings
            _australiaPostSettings.GatewayUrl = model.GatewayUrl;
            _australiaPostSettings.ShippedFromZipPostalCode = model.ShippedFromZipPostalCode;
            _australiaPostSettings.AdditionalHandlingCharge = model.AdditionalHandlingCharge;
            _settingService.SaveSetting(_australiaPostSettings);

            return View("Nas.Plugin.Shipping.AustraliaPost.Views.ShippingAustraliaPost.Configure", model);
        }