Beispiel #1
0
        public ActionResult GetStates()
        {
            var states =
                _workItemService.GetStatesViewModels(User.IsInRole(Resources.Director) || User.IsInRole(Resources.MainProjectEngineer) || User.IsInRole(Resources.Admin),
                                                     User.IsInRole(Resources.Manager));

            return(CreateJsonResult(states));
        }