public TradingBooksController(ITradingBookService service, IMapper mapper, IHttpContextAccessor httpContextAccessor) { _mapper = mapper; _service = service; _accountId = Convert.ToInt32(httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier)?.Value); }
public M7TradeService(IMappingService mappingService, ISettingService settingService, ITradingBookService tradingBookService, IFingerprintService fingerprintService, IM7PartyService im7PartyService, IContactService contactService, IVenueService venueService, ILogger <M7TradeService> logger) { this.mappingService = mappingService; this.fingerprintService = fingerprintService; this.im7PartyService = im7PartyService; this.contactService = contactService; this.venueService = venueService; this.settingService = settingService; this.tradingBookService = tradingBookService; this.logger = logger; }
public TradingBooksController(ITradingBookService service) { this.service = service; }