using db namespace keyword and use form db query for entity use find-by