title: Add/Update IEnumerable List
body: <p>I just want to ask how can I pass/update an IEnumerable List that will be used to show in dropdown cause I am missing a set of lines to add it and update <code>enumlist</code> so that I can only get the Text and Value that is <code>Arrived</code> and <code>Completed</code>. Here is my Enumerable list in my Model</p>
  
  <pre><code>    public enum DeliveryPermitStatus
      {
  
          Arrived = 1,
          Approved = 2,
          Cancelled = 3,
          Completed = 4,
          Submitted = 5
      }
  </code></pre>
  
  <p>Code in my Controller so I can add the filtered <code>enumlist</code> and I am missing code to viewbag the updated <code>enumlist</code> that will be used to show in dropdown</p>
  
  <pre><code>var enumlist = Enum.GetValues(typeof(DeliveryPermitStatus)).Cast&lt;DeliveryPermitStatus&gt;().Select(v =&gt; new SelectListItem
                  {
                      Text = v.ToString(),
                      Value = ((int)v).ToString()
                  });
  
                  if (User.IsInRole(StaticRoleNames.Admin)) //your condition here
                  {
                      foreach(var item in enumlist)
                      {
                          if(item.Text == "Arrived" || item.Text == "Completed")
                          {
                             //Missing Code Here
  
                          }
                      }
  
                  }
  
                  ViewBag.enumlist = enumlist;
  </code></pre>