public ActionResult GetAllPayments() { var payment = _pay.GetAllPayments(); if (payment == null) { return(View("No Payment Found")); } else { return(View(payment)); } }