Replace database queries in repositories with Morphia

Is this indentation off?