public ActionResult ADDUOM() { if (Session["UserName"] != null) { List <ADM_M_UOM> output = new List <ADM_M_UOM>(); DashboardBL obj = new DashboardBL(); output = obj.UOMList(); return(View(output)); } else { return(RedirectToAction("Login", "Login")); } }