예제 #1
0
        // GET: User/URL
        public ActionResult Index()
        {
            LinkHubModel db = new LinkHubModel();

            ViewBag.CategoryId = new SelectList(db.tbl_Category, "CategoryId", "CategoryName");
            return(View());
        }
예제 #2
0
 public UrlDb()
 {
     db = new LinkHubModel();
 }