public InvestorDepot Login(InvestorRegistration r, string exchangeId) { email = r.Email; client.SubscribeOnNewShareInformationAvailable(exchangeId); client.SubscribeOnNewOrderAvailable(exchangeId); client.SubscribeOnNewTransactionAvailable(exchangeId); client.SubscribeOnNewInvestorDepotAvailable(exchangeId); return(client.LoginInvestor(r, exchangeId)); }
public void Login(FundRegistration r, string exchangeId) { fundid = r.Id; client.SubscribeOnNewShareInformationAvailable(exchangeId); client.SubscribeOnNewOrderAvailable(exchangeId); client.SubscribeOnNewTransactionAvailable(exchangeId); client.SubscribeOnNewInvestorDepotAvailable(exchangeId); client.SubscribeOnNewFundDepotAvailable(exchangeId); client.LoginFund(r, exchangeId); }