public void InsertService(Service service) { using (var ctx = new SystemCompanyEntities()) { ctx.AddToServices(service); ctx.SaveChanges(); } }
public void InsertService(Service service) { using (var ctx = new SystemCompanyEntities()) { ctx.AddToServices(service); ctx.SaveChanges(); } }