You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
888 B
C#

using Ds.Module.MediatR;
namespace DS.TestResult.Controllers
{
public class OrderAppService
{
12 months ago
//private readonly IDistrbutedEventBus _distributedEventBus;
//private readonly OrderService _orderService;
12 months ago
//public OrderAppService(
// IDistrbutedEventBus distributedEventBus,
// OrderService orderService)
//{
// _distributedEventBus = distributedEventBus;
// _orderService = orderService;
//}
//public async Task<Guid> CreateOrder(string name)
//{
// var order = await _orderService.CreateOrder(name);
// //await _distributedEventBus.PublishAsync("OrderCreated", new OrderCreatedIntegrationEvent()
// //{
// // Id = order.Id,
// // Name = name
// //});
// return order.Id;
//}
}
}