I\'m following a Microsoft sample to implement email validation with Identity 2.0.0
I\'m stuck at this part
public ApplicationUserManager UserManager
I really misunderstood your question earlier. You are just missing some using statements, I think.
The GetOwinContext().GetUserManager
is in Microsoft.AspNet.Identity.Owin
.
So try add this part:
using Microsoft.AspNet.Identity.Owin;
using Microsoft.AspNet.Identity; // Maybe this one too
var manager = HttpContext.Current.GetOwinContext().GetUserManager>();