public void Delete(int id) { CommissionDividing commission = _context.CommissionDividing.Find(id); if (commission != null) { _context.CommissionDividing.Remove(commission); } }
public void Update(CommissionDividing item) { _context.Entry(item).State = EntityState.Modified; }
public void Create(CommissionDividing item) { _context.CommissionDividing.Add(item); }