Beispiel #1
0
        public ActionResult CreateBulkPaymentOrder(BulkPaymentOrderModel model)
        {
            bool done = ClientDAL.AddTransaction(model);

            if (done)
            {
                ModelState.Clear();
                model           = new BulkPaymentOrderModel();
                ViewBag.Message = "Vytvorenie transakcie bolo úspešné!";
            }
            else
            {
                ViewBag.Message = "Nastala chyba! Vytvorenie transakcie bolo neúspešné! Nemáte dostatočné prostriedky na vykonanie transakcie.";
            }
            return(View(model));
        }