using FlexJobApi.Core; using System.Threading.Tasks; namespace FlexJobApi.FlexJobServer.Test { public class TaskUnitTest { [Fact] public async Task Test1() { var categories = await ResourceUtils.SendHttpAsync< GetDictionaryCategorySelectQuery, FriendlyResult>>( new GetDictionaryCategorySelectQuery()); Console.WriteLine(); var result = await ResourceUtils.SendHttpAsync(new SaveTaskInfoCommand { Name = "测试任务", BillingMethod = EnumBillingMethod.Month, ServiceFee = 100, SettlementCycle = EnumSettlementCycle.Month, Benefits = new List { } }); } } }