Ejemplo n.º 1
0
        public ActionResult CustomerRecharge(CustomerRechargeModel model)
        {
            CustomerManagement customerMgr = new CustomerManagement(User.Identity.GetUserId <int>());

            customerMgr.CustomerRecharge(model.CustomerId, User.Identity.GetUserId <int>(), model.ChargeAmount);
            return(Redirect("/Agent/CustomerRechargeHistories?customerId=" + model.CustomerId));
            //return View(model);
        }