コード例 #1
0
        public ActionResult Index()
        {
            TableEngine te = new TableEngine();

            te.freshCardOrdersWidget();
            return(View(te.getTablesViewModel()));
        }
コード例 #2
0
ファイル: TableController.cs プロジェクト: jumppard/CNWP1
        // GET: Table
        public ActionResult Index()
        {
            //DataAccessLayer.CardnetDAL m_cardnetDAL = new DataAccessLayer.CardnetDAL("cn_db","all","all");
            TableEngine te = new TableEngine();

            //ViewBag.PosAcceptanceUnprocessedRequestsCount = te.getCardnetDAL().getPosAcceptanceRequests().Count - te.getCardnetDAL().getPosAcceptanceAnswers().Count;
            //ViewBag.CardOrderUnprocessedRequestsCount = te.getCardnetDAL().getCardOrderRequests().Count - te.getCardnetDAL().getCardOrderAnswers().Count;
            //ViewBag.CreditOrderUnprocessedRequestsCount = te.getCardnetDAL().getCreditOrderRequests().Count - te.getCardnetDAL().getCreditOrderAnswers().Count;
            //ViewBag.CardStatusUpdateUnprocessedRequestsCount = te.getCardnetDAL().getCardStatusUpdateRequests().Count - te.getCardnetDAL().getCardStatusUpdateAnswers().Count;

            return(View(te.getTablesViewModel()));
        }