示例#1
0
        private static async Task ViewBudgetForCurrentMonth(SpecContext context)
        {
            using (var client = context.CreateClient())
            {
                var budget = await client.GetAsync <BudgetModel>("/budgets/current");

                context.Set(budget);
            }
        }