public void EditBroker(Broker b) { context.Entry(b).State = EntityState.Modified; }
public void AddBroker(Broker b) { context.Broker.Add(b); context.SaveChanges(); }