コード例 #1
0
ファイル: ClientExample.cs プロジェクト: cukex/DbConnector
        public async Task <Employee> GetEmployee(int id)
        {
            //The use of Task/Async allows us to make multiple asynchronous calls
            //to the database leveraging the Task.WaitAll architecture

            return(await _pdrEmployee.GetSingle(id));
        }