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
Post a Comment