Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSimon Sporrong
35,097 PointsThere's no method 'userManager.Create()' only '...createAsync()'...
Hi! As the subject implies I can't test these changes. The seed data users are never created now and visual studio keeps waiting for the 'await' keyword..
I don't know where to use the 'await' keyword in order to wait for the user to be completely created since it's an asynchronous method. I can't change the Seed method definition because then it won't be overridden. Anyone know how to fix this?
Thanks!
1 Answer
Mark Ramos
19,209 PointsHey Simon,
You need to add the using Microsoft.AspNet.Identity;
directive to use Create().