public async Task <IActionResult> Create(Video video) { if (ModelState.IsValid) { Video result = await _service.Create(video); if (result != null) { return(View(result)); } } return(RedirectToAction(nameof(Create))); }