Beispiel #1
0
        public async Task <IActionResult> DeleteAsync(int id)
        {
            var huntedList = await _listRepository.DeleteHuntedListAsync(id);

            if (huntedList == null)
            {
                return(NotFound());
            }

            return(NoContent());
        }