//public OperationResult<Trade[]> GetOpenTrades(int login, AccountType type) //{ // try // { // var server = signalServiceRepository.GetServerName(login, type); // return new OperationResult<Trade[]> { IsSuccess = true, Result = accService.GetOpenOrders(server, login).Result }; // } // catch (Exception ex) // { // return new OperationResult<Trade[]> { IsSuccess = false, Error = ex.Message }; // } //} public OperationResult SubscriptionSettingsUpdate(long slaveId, long masterId, SubscriptionSettings settings) { Logger.Trace("Subscription settings update, slave id - {0}, master id - {1}", slaveId, masterId); return(InvokeOperations.InvokeOperation(() => signalServiceRepository.SignalSubscriptionSettingsUpdate(slaveId, masterId, settings))); }