예제 #1
0
        // GET: Invoice/Create

        public ActionResult Create()
        {
            ViewBag.PK_InvoiceDirection = new SelectList(dir.getAllDirection(), "idDirection", "DirectionType");
            return(View());
        }
예제 #2
0
        // GET: Direction
        public ActionResult Index()
        {
            var l = ause.getAllDirection();

            return(View(l));
        }