Files
BimAI/BimAI.API/Controllers/SyncController.cs

16 lines
398 B
C#
Raw Permalink Normal View History

2025-10-11 11:33:46 +02:00
using BimAI.Infrastructure.Sync;
2025-06-23 21:52:09 +02:00
using Microsoft.AspNetCore.Mvc;
2025-10-11 11:33:46 +02:00
namespace BimAI.API.Controllers;
2025-06-23 21:52:09 +02:00
[ApiController]
[Route("api/[controller]")]
public class SyncController(ProductSyncService productSyncService) : ControllerBase
{
[HttpPost("run-product-sync")]
public async Task<IActionResult> RunProductSync()
{
await productSyncService.RunAsync();
return Ok();
}
}