public ActionResult Create() { List<Gallery> gallist = db.galleries.ToList(); return View(gallist); }
public ActionResult Create() { List<Gallery> gallist = db.galleries.ToList(); List<Docs> doclist= db.documents.ToList(); return View(gallist,doclist); }
Quote:If i want to send two class objects? from controller to view
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)