1.3 KiB
1.3 KiB
title | author | description | ms.author | ms.date | uid |
---|---|---|---|---|---|
Controller methods and views in ASP.NET Core | rick-anderson | Learn how to work with controller methods, views, and DataAnnotations in ASP.NET Core. | riande | 04/07/2017 | tutorials/first-mvc-app-xplat/controller-methods-views |
Controller methods and views in ASP.NET Core
We have a good start to the movie app, but the presentation isn't ideal. We don't want to see the time (12:00:00 AM in the image below) and ReleaseDate should be two words.
Open the Models/Movie.cs file and add the highlighted lines shown below:
Build and run the app.
[!INCLUDE adding-model]
[!div class="step-by-step"] Previous - Working with SQLite Next - Add search