public ActionResult Cadastrar()
        {
            ClasseBL classeBL = new ClasseBL();
            FiloDAL  filoDAL  = new FiloDAL();

            IList <Filo> filos = filoDAL.Lista();

            ViewBag.Filos   = filos;
            ViewBag.Classes = classeBL.Lista();

            return(View(new Classe()));
        }
Exemple #2
0
 public ClasseBL()
 {
     this.filoDAL   = new FiloDAL();
     this.classeDAL = new ClasseDAL();
 }
Exemple #3
0
 public FiloBL()
 {
     this.filoDAL = new FiloDAL();
 }