Revert "use HttpContext.Current in"

This reverts commit e6ec0611b007761a92db4d7da9d737dc5a271b2c.