Table of Contents

Class RentCarCuotaInicialModeController

Namespace
KadicErp.WebApi.Controllers.RentACar
Assembly
KadicErp.WebApi.dll
[ApiController]
[Route("api/rentcar/cuota-inicial-modes")]
[Authorize]
public class RentCarCuotaInicialModeController : ControllerBase
Inheritance
object
ControllerBase
RentCarCuotaInicialModeController

Constructors

RentCarCuotaInicialModeController(ISender)

public RentCarCuotaInicialModeController(ISender sender)

Parameters

sender ISender

Methods

GetAll(CancellationToken)

[HttpGet]
[Authorize(Policy = "RENTACAR_RENTAL_RESERVATIONS_VIEW")]
public Task<IActionResult> GetAll(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task<IActionResult>

GetById(Guid, CancellationToken)

[HttpGet("{id:guid}")]
[Authorize(Policy = "RENTACAR_RENTAL_RESERVATIONS_VIEW")]
public Task<IActionResult> GetById(Guid id, CancellationToken cancellationToken)

Parameters

id Guid
cancellationToken CancellationToken

Returns

Task<IActionResult>