private void ContentRemove(ContentTable a)
 {
     a.Service = null;
 }
Exemple #2
0
 public bool SaveContentData(ContentTable item)
 {
     try
     {
         _dbContext.Content_items.InsertOnSubmit(item);
         _dbContext.SubmitChanges();
     }
     catch (Exception) { return false; }
     return true;
 }
 private void ContentAdd(ContentTable a)
 {
     a.Service = this;
 }