I could not get the reflection type for this LoginViewModel:
public class LoginViewModel
{
public string Email { get; set; }
public string Password { get; set; }
}
Scaffolding forced me to choose the context, but "LoginViewModel" is not listed in contexts:
This is the error I get:
How do I solve this?
This is often caused by a mismatch of versions. Check your Nuget packages. Refer to this question: asp.net mvc core The call is ambiguous between the following methods or properties:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.