public AssignVM(Agent agent, IEnumerable <Agencies> agen, IEnumerable <SecurityClearance> clear, Assignment assin) { AgentRepo agents = new AgentRepo(); Agents = agents.Grab(); Agent = agent; Assin = assin; Assignments = Assignment.All().ToList(); Agency = agen; SecurityClearances = clear; }
public ActionResult Index() { return(View(repo.Grab())); }