Slight refactoring
Delete and DeleteById now use transactions