public ActionResult <Soep> PostSoep(Soep soep) { Soep soepToCreate = new Soep(soep.Naam, soep.Prijs, soep.Hoeveelheid, soep.Omschrijving, soep.Foto); _soepenRepository.Add(soepToCreate); _soepenRepository.SaveChanges(); //201 + link naar gecreeerd soep + optioneel het gecreerde soep return(CreatedAtAction(nameof(GetSoep), new { id = soepToCreate.Id }, soepToCreate)); }