Ejemplo n.º 1
0
 // GET: Rainfall
 public ActionResult Index()
 {
     if (Session["username"] == null)
     {
         return(RedirectToAction("Login", "Home"));
     }
     return(View(RF.GetAllByCompanySite(int.Parse(Session["companysite"].ToString()))));
 }