public async Task <IActionResult> DeleteShowAsync([FromRoute] string id) { if (!await _showsRepository.IsExistAsync(id)) { return(NotFound()); } await _showsRepository.DeleteShowAsync(id); return(NoContent()); }
public async Task <IActionResult> DeleteShowAsync([FromRoute] string id) { if (!await _showsRepository.IsExistAsync(id)) { return(NotFound()); } await _showsRepository.DeleteShowAsync(id); return(NoContent()); }