Exemplo n.º 1
0
 public void SavePortrait(DTO.Portrait portrait)
 {
     using (var container = OpenContainer())
     {
         container.Store(portrait);
     }
 }
Exemplo n.º 2
0
        public void SavePortrait(DTO.Portrait portrait)
        {
            var container = OpenContainer();

            container.Store(portrait);
            container.Commit();
        }