Yes, that's correct either for a house or a restaurant. Probably, for the restaurant case, I would say "a job washing dishes", but "washing the dishes" is fine too.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.