|
|
@ -1090,7 +1090,7 @@ namespace Myshipping.Application
|
|
|
|
[HttpPost("/BookingSlot/refreshAllStock")]
|
|
|
|
[HttpPost("/BookingSlot/refreshAllStock")]
|
|
|
|
public async Task RefreshAllStock([FromBody] long telentId)
|
|
|
|
public async Task RefreshAllStock([FromBody] long telentId)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
await _repBase.DeleteAsync(x => x.TenantId == UserManager.TENANT_ID);
|
|
|
|
await _repStock.DeleteAsync(x => x.TenantId == telentId);
|
|
|
|
|
|
|
|
|
|
|
|
var logger = App.GetService<ILogger<BookingSlotStockSubscriber>>();
|
|
|
|
var logger = App.GetService<ILogger<BookingSlotStockSubscriber>>();
|
|
|
|
BookingSlotStockSubscriber subscriber = new BookingSlotStockSubscriber(logger);
|
|
|
|
BookingSlotStockSubscriber subscriber = new BookingSlotStockSubscriber(logger);
|
|
|
|