Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public ActionResult Index()
 {
     return(View(repo.Grab()));
 }