internal static void UpdateClient(int todoId, PrimaryKeyId contactUid, PrimaryKeyId orgUid, bool checkAccess) { if (checkAccess) { VerifyCanUpdate(todoId); } using (DbTransaction tran = DbTransaction.Begin()) { if (0 < DbTodo2.UpdateClient(todoId, contactUid == PrimaryKeyId.Empty ? null : (object)contactUid, orgUid == PrimaryKeyId.Empty ? null : (object)orgUid)) { // TODO: //SystemEvents.AddSystemEvents(SystemEventTypes.Todo_Updated_Client, projectId); } tran.Commit(); } }