public void Update(EquiModels equi) { _equiDBContext.Entry(equi).State = EntityState.Modified; _equiDBContext.SaveChanges(); }
public void Add(EquiModels models) { _equiDBContext.models.Add(models); _equiDBContext.SaveChanges(); }