public async Task <IActionResult> SolutionDetails(int id) { var allSolutions = _solutionsService.GetAllSolutions(); var solutionDetails = await _solutionsService.GetSolutionDetailsAsync(id); //var message = new EmailCallback(); if (solutionDetails == null) { return(RedirectToAction(ActionConstants.Solutions)); } var services = new ServicesViewModel { AllSolutions = allSolutions, Solution = solutionDetails, }; //ViewBag.Message = message; return(View("SolutionDetails", services)); }