public ActionResult Index() { if (CommonFunc.IsNotLogin(Session["UserLogin"] + "")) { return(RedirectToAction("Login", "Accounts")); } ViewBag.ListDepartment = dep.GetAll(); ViewBag.ListUser = user.GetAll(); return(View(rp.GetAll())); }
public override List <vReports> GetAll() { return(rp.GetAll()); }