Creating the model
The model represents the data your application will work with. For more information about the model, read the “Data” section on the ASP.NET MVC site:
http://www.asp.net/mvc/overview/models-(data)
In this example we will use plain C# classes for our model. We will not persist it in storage, as that falls out of the scope of MVC documentation.
Add a new class to the Model folder and call it Feature. Implement two properties – Name and Version.
using System;
using System.Linq;
namespace SitefinityWebApp.Mvc.Models
{
public class Feature
{
public string Name { get; set; }
public double Version { get; set; }
}
}