Exemplo n.º 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));
        }
Exemplo n.º 2
0
        public JsonResult GetEventPaymentsonEVentId(int EventId)
        {
            var Data = UserPaymentsService.GetUserPaymentsonEventId(EventId);

            return(Json(Data, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 3
0
        public JsonResult GetAllPayments()
        {
            var data = UserPaymentsService.GetUserPayments();

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