Ejemplo n.º 1
0
        public ActionResult CreateURL(tbl_Url objUrl)
        {
            LinkHubDbEntities db = new LinkHubDbEntities();

            ViewBag.CategoryId = new SelectList(db.tbl_Category, "CategoryId", "CategoryName");
            return(View());
        }
Ejemplo n.º 2
0
        // GET: URL
        public ActionResult Index()
        {
            LinkHubDbEntities db = new LinkHubDbEntities();

            ViewBag.CategoryId = new SelectList(db.tbl_Category, "CategoryId", "CategoryName");
            return(View());
        }
Ejemplo n.º 3
0
 public UrlDb()
 {
     db = new LinkHubDbEntities();
 }
Ejemplo n.º 4
0
 public UserDb()
 {
     db = new LinkHubDbEntities();
 }
Ejemplo n.º 5
0
 public URLdb()
 {
     db = new LinkHubDbEntities();
 }
Ejemplo n.º 6
0
 public CategoryDb()
 {
     db = new LinkHubDbEntities();
 }
Ejemplo n.º 7
0
 public UrlDb()
 {
     this._db = new LinkHubDbEntities();
 }
Ejemplo n.º 8
0
 public URLController()
 {
     db = new LinkHubDbEntities();
 }