public int Save(AdminControllerAction adminControllerAction) { if (adminControllerAction.id > 0) { return(_adminControllerActionDao.Update(adminControllerAction)); } return(_adminControllerActionDao.Insert(adminControllerAction)); }