Skip to content
Loading
0
  • Vinay Singh
    0
    Hi,
    Adjust the parameters of the following line :
     
    ViewBag.UserList= new SelectList(_context.AspNetUsers, "Id", "Id", 1);
     
    Change it to :
    ViewBag.UserList= new SelectList(_context.AspNetUsers, "UserName", "ClientId", 1);
      
    Thank you.
    0