To enforce this chapter, a court may restrain or enjoin a violation of this chapter.