public async Task <IActionResult> Delete(string id) { await _jokeRepository.Delete(id); return(Ok()); }
public async Task <int> DeleteJoke(int id) { return(await _jokeRepository.Delete(id)); }
public async Task <IActionResult> Delete(string id) { await _jokeProvider.Delete(id); return(Ok()); }