UserManager CreateAsyncy给出错误:UserName不能为空或为空。
以下是我的代码段:
<div class="parent">
<div class="head">A</div>
<div class="body">A</div>
<div class="head">A</div>
<div class="body">A</div>
<div class="head">A</div>
<div class="body">A</div>
<div class="head">A</div>
<div class="body">A</div>
</div>
答案 0 :(得分:0)
我通过UserName = contractorModel.Email;
修复了它