Exemplo n.º 1
0
        public IActionResult Users(string groupId)
        {
            if (!ModelState.IsValid)
            {
                return(NotFoundView());
            }

            Result <GroupUserViewModel> result = _groupDataService.GetGroupUserViewModel(groupId);

            if (result.Failure)
            {
                return(NotFoundView());
            }

            return(View(result.Value));
        }