Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public async Task <IActionResult> Create([Bind("Id,Name,BirthYear,Nationality,IsActive")] Author author) { if (ModelState.IsValid) { await _dataService.AddAuthor(author); return(RedirectToAction(nameof(Index))); } return(View(author)); }