Abdur Rahim

Abdur Rahim

  • 2k
  • 37
  • 174

Edit/Update current login user profile

Oct 9 2021 2:10 PM

Hi experts,

I want to update the user profile in asp.net MVC but modelstate is not true,
In View Model, I have added all details like

  • u_id
  • username
  • firstname
  • lastname
  • email
  • password

now i only want to update firstname and lastname
I think that's model is not valid
Lkindly give me suggestion/Solution to resolve this

Answers (3)