Beispiel #1
0
        public IActionResult Details(int id)
        {
            var vm = _productDetailsService.Build(id, null, User.IsInRole("Owner"));

            return(View(vm));
        }
Beispiel #2
0
        public IActionResult Details(int id)
        {
            var vm = _leagueDetailsService.Build(id, null, false);

            return(View(vm));
        }