Spaces:
Runtime error
Runtime error
Download src/SCM.Api/Controllers/FaturamentosController.cs from rafaeldavila/scm-api: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/spaces/rafaeldavila/scm-api/resolve/main/src/SCM.Api/Controllers/FaturamentosController.cs
- Command line
-
hf download hf://spaces/rafaeldavila/scm-api/src/SCM.Api/Controllers/FaturamentosController.cs
-
curl -L -o FaturamentosController.cs https://huggingface.co/spaces/rafaeldavila/scm-api/resolve/main/src/SCM.Api/Controllers/FaturamentosController.cs
1.25 kB
| using Asp.Versioning; | |
| using Microsoft.AspNetCore.Authorization; | |
| using Microsoft.AspNetCore.Mvc; | |
| using SCM.Application.Medicao; | |
| using SCM.Shared.Api; | |
| using SCM.Shared.Constants; | |
| namespace SCM.Api.Controllers; | |
| /// <summary>Faturamento físico-financeiro por EAP (read-model JSON; tipos F/P/J; PDF adiado).</summary> | |
| [] | |
| [] | |
| [] | |
| [] | |
| [] | |
| public sealed class FaturamentosController : ControllerBase | |
| { | |
| private readonly IFaturamentoService _service; | |
| public FaturamentosController(IFaturamentoService service) => _service = service; | |
| /// <summary>Relatório de faturamento do contrato: valor previsto e apropriado por EAP×item.</summary> | |
| [] | |
| [] | |
| [] | |
| [] | |
| public async Task<ActionResult<FaturamentoResponse>> GetFaturamento( | |
| Guid contratoId, CancellationToken ct = default) | |
| => Ok(await _service.GetFaturamentoAsync(contratoId, ct)); | |
| } | |