Ejemplo n.º 1
0
        public void del_income(string id)
        {
            info_incomeModel ic = new info_incomeModel();

            ic.selectincome_id(id);
            ic.insertIncomeLOG();
            ic.event_status = "D";
            ic.updateIncome();
        }
Ejemplo n.º 2
0
        public IActionResult editIncome(string income_id, string income_edit)
        {
            info_incomeModel ic = new info_incomeModel();

            ic.selectincome_id(income_id);
            ic.insertIncomeLOG();
            ic.income_name  = income_edit;
            ic.event_status = "U";
            ic.updateIncome();

            return(RedirectToAction("income", "Information"));
        }