public ActionResult DeleteConfirmed(Int64 parAccountNo)
        {
            AccountTableDBL oAccountTableDBL = new AccountTableDBL();

            POCO.AccountTable oAccountTable = oAccountTableDBL.M_AccountTable_Delete(parAccountNo);

            return(RedirectToAction("Index"));
        }
        public ActionResult Create(POCO.AccountTable oAccountTable)
        {
            if (ModelState.IsValid)
            {
                AccountTableDBL oAccountTableDBL = new AccountTableDBL();
                oAccountTableDBL.M_AccountTable_Insert(oAccountTable);

                return(RedirectToAction("Index"));
            }
            return(View(oAccountTable));
        }
 public ActionResult Edit(Int64 parAccountNo, POCO.AccountTable oAccountTable)
 {
     if (ModelState.IsValid)
     {
         //TODO: Add update logic here
         oAccountTable.AccountNo = parAccountNo;
         DBL.AccountTableDBL oAccountTableDBL = new DBL.AccountTableDBL();
         oAccountTable = oAccountTableDBL.M_AccountTable_Update(oAccountTable);
         return(RedirectToAction("Index"));
     }
     return(View());
 }
        // GET: AccountTable/Delete/5
        public ActionResult Delete(Int64 parAccountNo)
        {
            AccountTableDBL oAccountTableDBL = new AccountTableDBL();

            POCO.AccountTable oAccountTable = oAccountTableDBL.M_AccountTable_Find(parAccountNo);
            if (oAccountTable == null)
            {
                return(HttpNotFound());
            }


            return(View(oAccountTable));
        }
 public ActionResult Edit(Int64 parAccountNo)
 {
     DBL.AccountTableDBL oAccountTableDBL = new DBL.AccountTableDBL();
     POCO.AccountTable   oAccountTable    = oAccountTableDBL.M_AccountTable_Find(parAccountNo);
     return(View(oAccountTable));
 }