The following article has a useful information on handling the lifetime of DBContext in EF.

http://mehdi.me/ambient-dbcontext-in-ef6/