Пример #1
0
 public OrderService(IUnitOfWork unitOfWork, IReadOnlyContext readOnlyContext, IQueueProducer queueProducer)
 {
     _unitOfWork      = unitOfWork;
     _readOnlyContext = readOnlyContext;
     _queueProducer   = queueProducer;
 }
Пример #2
0
 public StudentService(IHttpClientAccessor httpClientAccessor, IQueueProducer queueProducer)
 {
     _httpclient   = httpClientAccessor.HttpClient;
     QueueProducer = queueProducer;
 }