示例#1
0
        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));
        }