public ActionResult Index() { TableEngine te = new TableEngine(); te.freshCardOrdersWidget(); return(View(te.getTablesViewModel())); }
// 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())); }