Exemplo n.º 1
0
 public async Task <IActionResult> Create()
 {
     return(View(new FilmViewModel
     {
         Year = DateTime.Now.Year,
         IsActive = true,
         IsEditingAllowed = true,
         AllDirectors = await _filmsService.GetDirectorsList()
     }));
 }