My first View Model
I have been playing around with MVC 3 and looking at populating dropdownlists.  I have seen a few examples online that recommend using view models, so here is my first attempt.  My code seems to work, but can anybody tell me if this is the correct way to do this?

My model :

    public class ContactGP
    {
        public int TeamID { get; set; }

        [Required(ErrorMessage = "Please select a Team Name")]
        [DataType(DataType.Text)]
        [DisplayName("Team Name")]
        public string TeamName { get; set; }
    }

My view model :

    public class ContactGPViewModel
    {
        public string SelectedTeamID { get; set; }
        public IEnumerable<Team> Teams { get; set; }
    }

My controller :

    public IEnumerable<Team> PopulateTeamsDropDownList()
        {
            IEnumerable<Team> lstTeams = _Base.DataRepository.GetTeams();

            return lstTeams;
        }

        public ActionResult ContactGP()
        {
            var model = new ContactGPViewModel
            {
                Teams = PopulateTeamsDropDownList()
            };

            return View(model);
        }

And my view :

    <p>
                @Html.DropDownListFor(
                x => x.SelectedTeamID, 
                new SelectList(Model.Teams, "TeamID", "TeamName")
)

            </p>
My first View Model
===

I have been playing around with MVC 3 and looking at populating dropdownlists.  I have seen a few examples online that recommend using view models, so here is my first attempt.  My code seems to work, but can anybody tell me if this is the correct way to do this?

My model :

    public class ContactGP
    {
        public int TeamID { get; set; }

        [Required(ErrorMessage = "Please select a Team Name")]
        [DataType(DataType.Text)]
        [DisplayName("Team Name")]
        public string TeamName { get; set; }
    }

My view model :

    public class ContactGPViewModel
    {
        public string SelectedTeamID { get; set; }
        public IEnumerable<Team> Teams { get; set; }
    }

My controller :

    public IEnumerable<Team> PopulateTeamsDropDownList()
        {
            IEnumerable<Team> lstTeams = _Base.DataRepository.GetTeams();

            return lstTeams;
        }

        public ActionResult ContactGP()
        {
            var model = new ContactGPViewModel
            {
                Teams = PopulateTeamsDropDownList()
            };

            return View(model);
        }

And my view :

    <p>
                @Html.DropDownListFor(
                x => x.SelectedTeamID, 
                new SelectList(Model.Teams, "TeamID", "TeamName")
)

            </p>