Exemplo n.º 1
0
        public async Task <IActionResult> ReadAllInClanAsync(string clan)
        {
            try
            {
                var clanNinja = await _ninjaService.ReadAllInClanAsync(clan);

                return(Ok(clanNinja));
            }
            catch (ClanNotFoundException)
            {
                return(NotFound());
            }
        }