Exemplo n.º 1
0
        public async Task <IActionResult> Delete([FromBody] DeleteDebtRequest request)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }
            await _debtService.Delete(request);

            return(Ok());
        }