public int Add(ClientShare entity) => ClientsShares.Add(entity).ClientId;
public void Remove(ClientShare entity) => ClientsShares.Remove(entity);
public void Update(ClientShare entity) { var modified = ClientsShares.First(m => m.ClientId == entity.ClientId && m.ShareId == entity.ShareId).Amount = entity.Amount; }