public void AddSection(Entities.Section sectionType) { context.Sections.Add(sectionType); }
public void UpdateSection(Entities.Section sectionType) { context.Entry(sectionType).State = EntityState.Modified; }
public void AddSection(Entities.Section sectionType) { context.Sections.Add(sectionType); }
public void UpdateSection(Entities.Section sectionType) { context.Entry(sectionType).State = EntityState.Modified; }