示例#1
0
        public async Task <IActionResult> Delete(long id)
        {
            try
            {
                await _bookAppService.RemoveAsync(id);

                return(NoContent());
            }
            catch (ExceptionHandler exceptionHandler)
            {
                return(ResponseByHttpStatusCode(exceptionHandler));
            }
        }