Greg Hardy defeated Yorgan de Castro by unanimous decision in the opening bout of the UFC 249 main card.