public async Task GetTopAsyncShouldThrowArgumentExceptionForAmountTest() { await _hashTagService.GetTopAsync(0); Assert.Fail(); }
public async Task <IActionResult> GetTop(int amount = 10) { return(Ok((await _hashTagService.GetTopAsync(amount)).Select(h => h.Title))); }