コード例 #1
0
        public ActionResult ViewPendingStockAdj()
        {
            var role = User.IsInRole(Role.Manager) ? Role.Manager : Role.Supervisor;

            ViewBag.Message = role;
            return(View(_stockAdjustmentRepo.GetPendingAdjustmentByRole(role)));
        }