title: Cannot implicitly convert type 'System.Collections.Generic.List<System.Web.Mvc.SelectListItem>' to 'int?'
body: <p>inside mvc3 application i'm populating dropdownlist from database using following query.
  getting error on Index.cshtml</p>
  
  <pre><code>public mydataEntities1 dbContext = new mydataEntities1();
  
          public List&lt;SelectListItem&gt; GetPricingSecurityID()
          {
          var pricingSecurityID = (from m in dbContext.Reporting_DailyNAV_Pricing
                                       select new SelectListItem
                                           {
                                                  Text = m.PricingSecurityID.ToString(),
                                                  Value = m.PricingSecurityID.ToString()
                                           });
  
          return pricingSecurityID.ToList();
          }
  
          public List&lt;SelectListItem&gt; GetCUSIP()
          {
              var cusipID = (from m in dbContext.StateStreet_DailyPosition_Second
                                       select new SelectListItem
                                       {
                                           Text = m.CUSIP.ToString(),
                                           Value = m.CUSIP.ToString()
                                       });
  
              return cusipID.ToList();
          }
  
  Home.controller
  public ActionResult Index()
          {
              SecurityIdentifierMapping objModel = new SecurityIdentifierMapping();
              objModel.PricingSecurityID = objRepository.GetPricingSecurityID();
              objModel.CUSIP = objRepository.GetCUSIP();
              return View(objModel);
          }
  
  public partial class SecurityIdentifierMapping
      {
          public int Id { get; set; }
  
          [Required(ErrorMessage = "Please select a PricingSecurityID")]
          public Nullable&lt;int&gt; PricingSecurityID { get; set; }
  
          [Required(ErrorMessage = "Please select a CUSIPID")]
          public string CUSIP { get; set; }
  
          public string Calculation { get; set; }
      }
  </code></pre>
  
  <p>tried <code>AsEnumerable()</code> also what to change?</p>