Updated UnitOfWork

Added InvalidOperationException in Dispose method that will be thrown if
the context has already been disposed.