Esempio n. 1
0
        public ActionResult Update(int ID, string CompanyName, string CompanyFullName)
        {
            ComPanyOP op = new ComPanyOP();

            int iResult = op.Update(ID, CompanyName, CompanyFullName);

            return(Json(new { state = "success" }));
        }
        public ActionResult Update(SYS_Company company)
        {
            ComPanyOP op = new ComPanyOP();

            op.Update(company);

            return(Json(new { state = "success" }));
        }