// GET: Users public ActionResult UserIndex() { return(View(u.GetUsers())); }
// GET: Comments/Create public ActionResult CreateComment() { ViewBag.CommentId = new SelectList(i.GetInvoices(), "InvoiceId", "InvoiceId"); ViewBag.User_id = new SelectList(u.GetUsers(), "UserId", "Name"); return(View()); }
// GET: User public ActionResult Index() { return(View(iuser.GetUsers())); }