I have MainMethod that needs to call two methods Method1 and Method2 parallel. Both of them will return the Employee list, but from a different database. I need to call them in parallel and then combine the results of Method1 and Method2 in MainMethod and then return the result to the calling MainMethod device.
I really appreciate it if people can tell me what method signatures should be and what code I need to write. I mean the async / await keywords.
c # parallel-processing
Ziggler May 15 '15 at 1:56 pm 2015-05-15 13:56
source share