public ActionResult PostPayment() { var model = pth.GetAllPaymentTypes(); var payment = new Payment { PaymentTypes = model }; return(View(payment)); }
// GET: PaymentType public ActionResult Index() { return(View(pth.GetAllPaymentTypes())); }