I have a big model
public class SomeModel
{
public int Id { get; set; }
.....A lot(24) of Fields here.....
}
Now on Post ActionResult Edit(somemodel SomeModel)
I want to check if anything has been changed by user with respect to original model values in database. Using If Else
makes for a lot of messy code. Is there anyway to check if something was altered by the user and if possible what field was altered by user?