Add config dependency to datacontext