Hello

I need help buying my first DSLR, the reason buying one is to take decent action photos, well pictures of the hockey team and other sports. However budget is 500, can I get something decent for action shots? My knowledge is fairly limited on this topic. Regarding getting quality action shots does it depend on the camera or the actual lens?

Looking forward to the advice!

Thanks