//Delete public void Delete(int Id) { EquipmentTypes EquipmentTypes = db.EquipmentTypes.Find(Id); EquipmentTypes.IsDeleted = true; db.Entry(EquipmentTypes).State = EntityState.Modified; Save(); }
//Update public void Update(EquipmentTypes EquipmentTypes) { db.Entry(EquipmentTypes).State = EntityState.Modified; Save(); }
//Insert public void Insert(EquipmentTypes EquipmentTypes) { db.EquipmentTypes.Add(EquipmentTypes); Save(); }