Exemplo n.º 1
0
        public async Task <IActionResult> DeleteCharacterFromListAsync(int id, [FromQuery] int charId)
        {
            var huntedList = await _listRepository.DeleteCharacterFromListAsync(charId, id);

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

            return(NoContent());
        }