public ActionResult CATWhours() { if (Session["userName"] == null) { return(RedirectToAction("Login", "Home")); } else { ViewBag.Hours = DataGetter.GetCatwHoursByUserName(Session["userName"].ToString()); return(View()); } }