private void ContentRemove(ContentTable a) { a.Service = null; }
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; }