Exemplo n.º 1
0
        public async Task <IActionResult> SolutionEdit(int id, AdminSolutionBindingModel model)
        {
            if (!ModelState.IsValid)
            {
                RedirectToAction("EditSolution");
            }
            await _solutionsService.SolutionEditAsync(model, id);

            return(RedirectToAction("SolutionsAdmin"));
        }