public async Task <IEnumerable <Ninja> > ReadAllClanAsync(string clanName) { bool isClanExist = await _clanService.IsClanExistsAsync(clanName); if (!isClanExist) { throw new ClanNotFoundException(clanName); } return(await _ninjaRepository.ReadAllClanAsync(clanName)); }