public void InsertPriority(Priority priority) { using (var ctx = new SystemCompanyEntities()) { ctx.AddToPriorities(priority); ctx.SaveChanges(); } }
public void InsertPriority(Priority priority) { using (var ctx = new SystemCompanyEntities()) { ctx.AddToPriorities(priority); ctx.SaveChanges(); } }