Both are correct, but with a little difference
would you do me a favor? means that you ask someone if s/he doesn't mind helping you.
could you do me a favor? means almost the same but it asks about the possibility, too.
.............
it's my own information, so check it with someone else, too.