entity framework - Want to update AspNetUser table ,Identity 2.0 -


i want update aspnetuser's fields through entityframework,and code given

 public customjsonresult saveuser(usereditformmodel userrecord)  {        if (!modelstate.isvalid) customjson(userrecord);        var user = mapper.map<applicationuser>(userrecord);        return customjson(userrecord);  } 

//----error: userrecord not mapped applecationuser


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -