Exemplo n.º 1
0
        public ActionResult MyVoucher()
        {
            List <pbs_basic_MyVoucherView> listMyVoucher                      = new List <pbs_basic_MyVoucherView>();
            pbs_basic_MyVoucherService     pbsBasicMyVoucherService           = new pbs_basic_MyVoucherService();
            ResultInfo <List <pbs_basic_MyVoucherView> > result_listMyVoucher = pbsBasicMyVoucherService.GetMyVoucherViewList(userid);

            if (result_listMyVoucher.Result && result_listMyVoucher.Data != null)
            {
                listMyVoucher = result_listMyVoucher.Data;
            }

            ViewData["ListMyVoucher"] = listMyVoucher;

            return(View());
        }