示例#1
0
        public ActionResult CachDone(Cart cart, string returnUrl)
        {
            InvoiceViewModel mycart = new InvoiceViewModel()
            {
                ReturnUrl = returnUrl,
                Cart      = cart,
            };

            ViewBag.operationType = new SelectList(_OperationTypeManger.GettAll().Where(c => c.IsArchived == false), "Id", "Name");
            return(View(mycart));
        }
 public ActionResult Index()
 {
     return(View(_operationTypeManger.GettAll().Where(o => o.IsArchived == false).ToList()));
 }