public void InsertCompany(Company company) { using (var ctx = new SystemCompanyEntities()) { ctx.AddToCompanys(company); ctx.SaveChanges(); } }
public void InsertCompany(Company company) { using (var ctx = new SystemCompanyEntities()) { ctx.AddToCompanys(company); ctx.SaveChanges(); } }