Esempio n. 1
0
        public async Task <IActionResult> SolutionDetails(int id)
        {
            var solutionDetails = await _solutionsService.GetSolutionDetailsForAdminAsync(id);

            if (solutionDetails == null)
            {
                return(RedirectToAction(ActionConstants.SolutionsAdmin));
            }

            return(View("SolutionDetails", solutionDetails));
        }