Education time please.

I have 2 Mac Mini's I want to upgrade to an SSD. I have a model # A1175 and A1283.

Do they both take the same type hard drive?

Are the connections the same ?

I know it's an SATA drive but here is where it gets confusing to me.... I see SATA II & III.... What exact type should I use ?

Thank you

Chris