Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
public IActionResult Delete(string id) { var game = _gamesService.GetById(id); if (game == null) { return(NotFound()); } //Cleanup characters and comments of game _commentsService.DeleteByGame(id); _charactersService.DeleteByGame(id); //Delete the game _gamesService.Remove(game.id); return(NoContent()); }