public ActionResult ProductionProces() { var concernId = Convert.ToInt32(Session["ConcernId"]); var userId = Convert.ToInt32(Session["UserId"]); if (concernId > 0 && userId > 0) { var model = _production.ProductionProcess(); ProductionOrderViewModels viewModels = new ProductionOrderViewModels() { ProductionOrders = model }; return(View(viewModels)); } return(RedirectToAction("LogIn", "GlobalData", new { Area = "Global" })); }