Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <IActionResult> Create([Bind("Id,ClienteId,Nome,Raca,DataNascimento,Peso")] App.Domain.Animal animal) { if (ModelState.IsValid) { var token = HttpContext.Session.GetString("Token"); await appService.AddAnimalAsync(token, animal); return(RedirectToAction(nameof(Index))); } return(View(animal)); }