public ActionResult PaymentMethod(PaymentMethodModel paymentMethodModel, string submitButton)
        {
            if (!ModelState.IsValid)
            {
                string errorString = this.ValidationPaymentMethod(paymentMethodModel);
                if (!string.IsNullOrEmpty(errorString))
                {
                    ViewBag.Validate = errorString;
                    return(View(paymentMethodModel));
                }
            }

            if (paymentMethodModel.Id > 0)
            {
                var result = _iPaymentMethodService.UpdatePaymentMethod(paymentMethodModel);
                if (result == -1)
                {
                    ModelState.AddModelError("PaymentMethodName", "Payment method name already exists");
                    return(View(paymentMethodModel));
                }
                ViewBag.Result = _locService.GetLocalizedHtmlString("EditSuccss");
            }
            else
            {
                var result = _iPaymentMethodService.InsertPaymentMethod(paymentMethodModel);
                if (result == -1)
                {
                    ModelState.AddModelError("PaymentMethodName", "Payment method name already exists");
                    return(View(paymentMethodModel));
                }
                ViewBag.Result = _locService.GetLocalizedHtmlString("SaveSuccess");
            }

            return(RedirectToAction("Index", "PaymentMethod"));
        }