public ActionResult Invoice(int id)
        {
            MerchantInvoicingModel ToShow = new MerchantInvoicingModel();

            try
            {
                ToShow = MerchantServiceInstance.GetMerchantInvoice(id, 0);
            }
            catch (Exception Ex)
            {
                ModelState.AddModelError("", Common.StandardExceptionErrorMessage(Ex));
            }
            return(View(ToShow));
        }
        public ActionResult Invoice(int id, FormCollection collection)
        {
            try
            {
                // get the final invoice data
                MerchantInvoicingModel ToShow = MerchantServiceInstance.GetMerchantInvoice(id, 1);

                // format it

                return(RedirectToAction("SelectMerchantForEdit"));
            }
            catch (Exception Ex)
            {
                ModelState.AddModelError("", Common.StandardExceptionErrorMessage(Ex));
                return(View());
            }
        }