public async Task <Ninja> DeleteAsync(string clanName, string ninjaKey) { await EnforceNinjaExistenceAsync(clanName, ninjaKey); var deletedNinja = await _ninjaRepository.DeleteAsync(clanName, ninjaKey); return(deletedNinja); }
public async Task <Ninja> DeleteAsync(string clanName, string ninjaKey) { await EnforceNinjaExistenceAsync(clanName, ninjaKey); var deletedNinja = await _ninjaRepository.DeleteAsync(clanName, ninjaKey); return(deletedNinja); }