public JsonResult Update(string staffCode, string appId, string appName, string appDescription, string appIcon) { AppDao appDao = new AppDao(); App app = new App { appId = appId, name = appName, description = appDescription, icon = appIcon }; return(Json(appDao.Update(staffCode, app))); }