Ejemplo n.º 1
0
        public IActionResult CreateSettlement(CreateSettlementDto createSettlementDto)
        {
            var settlment = _settlementService.Add(createSettlementDto);

            return(CreatedAtAction(nameof(Get), new { id = settlment.Id }, settlment));
        }