public async Task <IEnumerable> GetAllNumberCharacter(int value) { var result = await _numberSequenceCalculation.GetAllNumberCharacter(value); if (result == null) { return(await GetAllNumber(value)); } return(result.ToList()); }