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