(a) A partnership may maintain an action against a partner for a breach of the partnership agreement, or for the violation of a duty to the partnership, causing harm to the partnership.
(b) A partner may maintain an action against the partnership or another partner for legal or equitable relief, with or without an accounting as to partnership business, to:
(1) Enforce the partner's rights under the partnership agreement;