Пример #1
0
        public async Task <IActionResult> DeleteShowAsync([FromRoute] string id)
        {
            if (!await _showsRepository.IsExistAsync(id))
            {
                return(NotFound());
            }
            await _showsRepository.DeleteShowAsync(id);

            return(NoContent());
        }