title: Calling multiple model Entity Framework in MVC View
body: <p>I want to call multiple model in my ADD view. I'm having hard time to call issues model and systems model in one view. See below codes</p>
  <p><strong>IssuesController</strong></p>
  <pre><code>public ActionResult GetIssues()
  {
    using(SSD_INTERIM db = new SSD_INTERIM())
    {
      var issueList = db.TBL_ISSUES.Where(x =&gt; x.STATUS != &quot;Closed&quot;).ToList();
      return Json(new { data = issueList }, JsonRequestBehavior.AllowGet);
    }
  }
  
  [HttpGet]
  public ActionResult GetSystems()
  {
    using(SSD_INTERIM db = new SSD_INTERIM())
    {
      var issueList = db.LIB_SSD_SYSTEMS.Where(x =&gt; x.ENABLED == &quot;Y&quot;).ToList();
      return Json(new { data = issueList }, JsonRequestBehavior.AllowGet);
    }
  }
  
  [HttpGet]
  public ActionResult AddOrEdit(int id = 0)
  {
    return View(new TBL_ISSUES());
  }
  </code></pre>
  <p><strong>AddOrEdit.cshtml (view)</strong></p>
  <pre><code>@model ProjectName.Models.TLB_ISSUES
  @{
    Layout = null;
  }
  @using (Html.BeginForm(&quot;AddOrEdit&quot;,&quot;Issues&quot;, FormMethod.Post, new { onsubmit = &quot;return SubmitForm(this)&quot;}))
  {
    @Html.HiddenFor(model =&gt; model.ISSUE_ID)
    &lt;div&gt;
     @Html.LabelFor(model =&gt; model.SYSTEMNAME, &quot;System&quot;, new { @class = &quot;control-label&quot; })
     @* Put DropdownListFor for system from different model *@
    &lt;/div&gt;
    &lt;div&gt;
      @Html.LabelFor(model =&gt; model.ISSUE_DESC, &quot;Description&quot;, new { @class = &quot;control-label&quot; })
      @Html.EditFor(model =&gt; model.ISSUE_DESC, new { htmlAttributes = new {@class=&quot;form-control&quot;}})
    &lt;/div&gt;
  }
  </code></pre>
  <p><strong>Screenshot of Entity Framework model</strong></p>
  <p><a href="https://i.stack.imgur.com/kLl3Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kLl3Y.png" alt="enter image description here" /></a></p>
  <p>Hope you can help me with my issue, I want to populate system dropdown with datas from different model.</p>