private async Task <string> GetIngrediantListAsync(int recipeId) { IEnumerable <RecipeIngrediantViewModel> ingrediants = null; using (var client = new GatewayClient()) { ingrediants = await client.GetRecipeIngrediantsAsync(recipeId); } var builder = new StringBuilder(); builder.AppendLine(Resources.Message_YouNeedFollingIngrediants + Bot_NewLine + Bot_NewLine); foreach (var ingrediant in ingrediants.OrderByDescending(x => x.Amount)) { var line = $"* {ingrediant.Amount.ToString().PadLeft(4)} {ingrediant.Unit.GetUnit().PadRight(3, ' ')} {ingrediant.Name}"; builder.AppendLine(line); } return(builder.ToString()); }