Beispiel #1
0
        public ActionResult GetAllPayments()
        {
            var payment = _pay.GetAllPayments();

            if (payment == null)
            {
                return(View("No Payment Found"));
            }
            else
            {
                return(View(payment));
            }
        }