public void InsertMatchType(BilliardsMatchType type) { context.BilliardsMatchTypes.Add(type); }
public void UpdateMatchType(BilliardsMatchType type) { context.Entry(type).State = EntityState.Modified; }
public void DeleteMatchType(BilliardsMatchType type) { context.BilliardsMatchTypes.Remove(type); }