* Added new Entities and Dtos
* Mapping new classes * Added new services and Controllers in API
This commit is contained in:
16
FaKrosnoApi/Controllers/EdiCustomerOrderImportController.cs
Normal file
16
FaKrosnoApi/Controllers/EdiCustomerOrderImportController.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using SytelineSaAppEfDataModel.Services;
|
||||
|
||||
namespace FaKrosnoApi.Controllers;
|
||||
|
||||
[ApiController]
|
||||
[Route("api/[controller]")]
|
||||
public class EdiCustomerOrderImportController(IEdiCustomerOrderImportService service) : Controller
|
||||
{
|
||||
[HttpGet("last-update-date")]
|
||||
public async Task<ActionResult<DateTime>> GetLastUpdateDate()
|
||||
{
|
||||
DateTime lastUpdateDate = await service.GetLastUpdateDate();
|
||||
return Ok(lastUpdateDate);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user