示例#1
0
        public ActionResult EventPayments(int?id)
        {
            List <Events> Payments = new List <Events>();

            if (id == 0)
            {
                Payments = UserPaymentsService.GetUserPayments();
            }
            else
            {
                Payments = UserPaymentsService.GetUserPaymentsonEventId(id.Value);
            }
            return(View(Payments));
        }
示例#2
0
        public JsonResult GetEventPaymentsonEVentId(int EventId)
        {
            var Data = UserPaymentsService.GetUserPaymentsonEventId(EventId);

            return(Json(Data, JsonRequestBehavior.AllowGet));
        }
示例#3
0
        public JsonResult GetAllPayments()
        {
            var data = UserPaymentsService.GetUserPayments();

            return(Json(data, JsonRequestBehavior.AllowGet));
        }