They were probably just close friends, they did work together after all. Being at the beach together doesn't = dating. Holding hands, and arms around waists = dating.
For those who dont know who he is ( ) He was one of the main characters of Disney's show "Wizards of Waverly Place" , he played Selena Gomez's brother. He also played Ted Mosby's son in How I Met Your Mother.