Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public async Task <IActionResult> DeleteAsync(Guid id) { var deck = await decksService.FindAsync(id); if (deck == null) { return(NotFound(id)); } await cardsService.DeleteAsync(deck.CardsIds.ToArray()); await decksService.DeleteAsync(deck.Id); return(NoContent()); }