コード例 #1
0
 public async Task <IEnumerable <CustomerModel> > GetCustomersAsync()
 {
     return(await Task.Run(() =>
                           CustomerConverter.ConvertToCustomerModelCollection(_context.Customers)
                           ));
 }