public MainViewModel(string buyerName, IWarehouseConnection connection, BuyerRepository repository) { _buyerName = buyerName; _connection = connection; _repository = repository; StartBuyingCommand = new Command(Join); Buyers = new ObservableCollection <BuyerViewModel>(); }
public Warehouse(IWarehouseConnection connection, string buyerName) { _buyerName = buyerName; _connection = connection; }