public void UpdateErrorCategory(Entities.ErrorCategory errorCategory) { context.Entry(errorCategory).State = EntityState.Modified; }
public void AddErrorCategory(Entities.ErrorCategory errorCategory) { context.ErrorCategories.Add(errorCategory); }