コード例 #1
0
        public ActionResult Directions()
        {
            uls_dbDataContext ulsdb_dc = new uls_dbDataContext();

            ViewData["DefaultFroms"] = ulsdb_dc.GetDefaultFroms();

            ViewData["OfficeLocations"] = new SelectList(ulsdb_dc.GetOfficeLocations(), "location_address", "location_name");

//            ViewData["Title"] = "Directions";

            return(View());
        }