Changed lifetime of repositories and dbcontext to be IntancePerHttpRequest