[Update]: move db context to dal , clean up code in solution.