public IActionResult Details(string id)
        {
            ProblemDetailsViewModel model = problemsService.GetProblemDetails(id);

            return(View(model));
        }
Пример #2
0
        public IActionResult ProblemDetails(int id)
        {
            var vm = problemsService.GetProblemDetails(id);

            return(View(vm));
        }