title: Validation Error in ASP.NET
body: <p>I had an entity : </p>
  
  <pre><code>public class Book
  {
  public int BookID{get; set;}
  public string BookName{get; set;}
  public int Price {get; set;}
  }
  </code></pre>
  
  <p>I scaffolded and created Controller and Views automatically. Then I changed my entity to this : </p>
  
  <pre><code>public class Book
  {
  public int BookID{get; set;}
  public string BookName{get; set;}
  public double Price {get; set;}
  }
  </code></pre>
  
  <p>I copied my project, then deleted controller and views, recreated them automatically. Then copied the content of controller and views from the old one. Now when I enter 18.75 I get "The value '18.75' is not valid for Price." error. How can I fix this situation? Thanks.</p>