public ActionResult ViewPendingStockAdj() { var role = User.IsInRole(Role.Manager) ? Role.Manager : Role.Supervisor; ViewBag.Message = role; return(View(_stockAdjustmentRepo.GetPendingAdjustmentByRole(role))); }