public async Task <IActionResult> Create([Bind("Title")] QuizViewModel vm) { if (ModelState.IsValid) { var quiz = vm.ToQuiz(); var createOperation = await _bo.CreateAsync(quiz); if (!createOperation.Success) { return(OperationErrorBackToIndex(createOperation.Exception)); } return(OperationSuccess("The record was successfuly created")); } return(View(vm)); }