mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
13 lines
301 B
C#
13 lines
301 B
C#
using Observatory.Framework.Files;
|
|
|
|
namespace Pulsar.Features.Cargo;
|
|
|
|
[ApiController]
|
|
[Route("api/[controller]")]
|
|
public class CargoController(ICargoService cargoService) : ControllerBase
|
|
{
|
|
public async Task<ActionResult<CargoFile>> Get()
|
|
{
|
|
return Ok(await cargoService.Get());
|
|
}
|
|
} |