示例#1
0
        internal static void UpdateGeneralInfo(int todoId, string title, string description, bool checkAccess)
        {
            if (checkAccess)
            {
                VerifyCanUpdate(todoId);
            }

            using (DbTransaction tran = DbTransaction.Begin())
            {
                DbTodo2.UpdateGeneralInfo(todoId, title, description);
                SystemEvents.AddSystemEvents(SystemEventTypes.Todo_Updated_GeneralInfo, todoId);

                tran.Commit();
            }
        }