public async Task <IActionResult> Finish(ReportBindingModel model) { if (model.Responses.All(rsp => rsp.OptionId != 0)) { var reportModel = model.ToServiceModel(); await _reportService.AddReportAsync(reportModel); return(View()); } var surveyModel = await _surveyService.GetSurveyById(model.SurveyId); var viewModel = surveyModel.ToViewModel(); ModelState.AddModelError("", "It seems like you haven't answerd all the questions"); return(View("Start", viewModel)); }