Beispiel #1
0
        public ActionResult GenPaymentsCash(string PaymentData, int C_CashBook_ID, decimal BeginningBalance)
        {
            GeneratePaymt[] arr      = JsonConvert.DeserializeObject <GeneratePaymt[]>(PaymentData);
            Ctx             ct       = Session["ctx"] as Ctx;
            PaymentModel    _payMdl  = new PaymentModel();
            string          _Paydata = _payMdl.CreatePaymentsCash(ct, arr, C_CashBook_ID, BeginningBalance);

            return(Json(JsonConvert.SerializeObject(_Paydata), JsonRequestBehavior.AllowGet));
        }