public void InsertServiceCall(ServiceCall serviceCall) { using (var ctx = new SystemCompanyEntities()) { ctx.AddToServiceCalls(serviceCall); ctx.SaveChanges(); } }
public void InsertServiceCall(ServiceCall serviceCall) { using (var ctx = new SystemCompanyEntities()) { ctx.AddToServiceCalls(serviceCall); ctx.SaveChanges(); } }