コード例 #1
0
        public async Task <TestPerson> CreatePersonAsync(Guid id, string firstName, string lastName)
        {
            await Task.Delay(10);

            TestPerson person = TestDataBuilder.TestPerson(id, firstName, lastName).Build();

            await Task.Delay(10);

            return(person);
        }
コード例 #2
0
 public TestPerson CreatePerson(Guid id, string firstName, string lastName)
 {
     return(TestDataBuilder.TestPerson(id, firstName, lastName).Build());
 }