Beispiel #1
0
        public async Task <IActionResult> Delete([FromRoute] int id)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var cheque = await _chequeRepository.DeleteAsync(id);

            return(Ok(cheque));
        }