Infrastructure.InMemoryUnitOfWork.Commit C# (CSharp) Method

Commit() public method

public Commit ( ) : void
return void
        public void Commit()
        {
            //if we were working with a database, this is where the transaction would be created and all changes persisted.
            committedData = serializer.Serialize(Repository);
        }