// GET: User/URL public ActionResult Index() { LinkHubModel db = new LinkHubModel(); ViewBag.CategoryId = new SelectList(db.tbl_Category, "CategoryId", "CategoryName"); return(View()); }
public UrlDb() { db = new LinkHubModel(); }
// GET: User/URL public ActionResult Index() { LinkHubModel db = new LinkHubModel(); ViewBag.CategoryId = new SelectList(db.tbl_Category, "CategoryId", "CategoryName"); return(View()); }
public UrlDb() { db = new LinkHubModel(); }