title: How can i get this Json to Fill my dropdown in MVC?
body: <p>The Goal is User types inputs an id the id get processed using StringFormat. Then compared to the database the return result returns all matches.  So I have it returned in a JSON. I want to pull out the First and Last name and fill the Dropdown with it that infomation  </p>
  
  <p>This is my viewmodel
      using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Web;</p>
  
  <pre><code>namespace eFilingNoticeRetrieval.Models
  {
      public class efViewModel
  {
      public string first_name { get; set; }
      public string last_name { get; set; }
      public string efdcp_Random { get; set; }
      public int fk_efd_ID { get; set; } 
  
  
      }
  }
  </code></pre>
  
  <p>This is My Controller</p>
  
  <pre><code>[HttpPost]
      public JsonResult Details(string searchTerm)
      {
          string searchTerm1 = StringFormat(searchTerm); // Takes the random off
  
          var model =
              from e in _db.eFiling_Document_CourtProcessed
              join item in _db.eQueue_Party on e.fk_efd_ID equals item.fk_efd_ID
              where (e.efdcp_UniqueServiceID == searchTerm1)
              select new efViewModel
              {
                  first_name = item.efp_FirstName,
                  last_name = item.efp_LastName,
                  efdcp_Random = e.efdcp_Random,
                  fk_efd_ID = item.fk_efd_ID
              };
          JsonResult result = new JsonResult();
          result.Data=JsonConvert.SerializeObject(model.ToList());
  
              return result;
      }
  </code></pre>
  
  <p>This is my view</p>
  
  <pre><code>&lt;input type="text" name="searchTerm" id="searchTerm" onchange="getting()" /&gt;
  
  
  &lt;select  id="drops"/&gt;
  
  function getting()
  {
  
      var searchTerm = $('#searchTerm').val();
  
      $.ajax({
          url: '@Url.Action("Details", "Home")',
              type: "POST",
            data: { searchTerm: searchTerm },
  
             beforeSend: function () { },
             success: function (searchTerm)
              {
                 $($.parseJSON(searchTerm)).map(function () {
                     return $('&lt;option&gt;').val(this.value).text(this.label);
                 }).appendTo('#drops');
  
              }
  
          });
  </code></pre>
  
  <p>This is my return </p>
  
  <pre><code>"[{\"first_name\":\"JIM\",\"last_name\":\"JOHNSON\",\"efdcp_Random\":\"BQONIZ\",\"fk_efd_ID\":771},{\"first_name\":\"JIM\",\"last_name\":\"JOHNSON\",\"efdcp_Random\":\"ELWKHE\",\"fk_efd_ID\":771},{\"first_name\":\"JIM\",\"last_name\":\"JOHNSON\",\"efdcp_Random\":\"ARVYTN\",\"fk_efd_ID\":771},{\"first_name\":\"NICK\",\"last_name\":\"NICHOLSON\",\"efdcp_Random\":\"BQONIZ\",\"fk_efd_ID\":771},{\"first_name\":\"NICK\",\"last_name\":\"NICHOLSON\",\"efdcp_Random\":\"ELWKHE\",\"fk_efd_ID\":771},{\"first_name\":\"NICK\",\"last_name\":\"NICHOLSON\",\"efdcp_Random\":\"ARVYTN\",\"fk_efd_ID\":771}]"
  </code></pre>