public void SavePortrait(DTO.Portrait portrait) { using (var container = OpenContainer()) { container.Store(portrait); } }
public void SavePortrait(DTO.Portrait portrait) { var container = OpenContainer(); container.Store(portrait); container.Commit(); }