 class:</p>

<pre lang="cs">
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;

namespace Acme.SimpleTaskApp.Web.Models.People
{
    public class CreateTaskViewModel
    {
        <strong>public List&lt;SelectListItem&gt; People { get; set; }</strong>

        public CreateTaskViewModel(List&lt;SelectListItem&gt; people)
        {
            People = people;
        }
    }
}</pre>

<p>Create view is shown below:</p>

<pre lang="xml">
@using Acme.SimpleTaskApp.Web.Models.People
@m