Moved method getTrends from ModelHelper to DBDataService where it belongs.