Пример #1
0
 public void RemoveContent(ServiceContent content)
 {
     unit.Contents.Delete(content.ToDalContent());
     unit.Save();
 }
Пример #2
0
 public void AddContent(ServiceContent content)
 {
     unit.Contents.Create(content.ToDalContent());
     unit.Save();
 }