public ActionResult <Continent> Put(int id, [FromBody] Continent continent)
 {
     log("Put");
     if (continent == null || continent.ContinentId != id)
     {
         return(BadRequest());
     }
     else if (!contRepos.ExistsContinent(id))
     {
         contRepos.AddContinent(continent);
         return(CreatedAtAction(nameof(Get), new { id = continent.ContinentId }, continent));
     }
     contRepos.UpdateContinent(continent);
     return(new NoContentResult());
 }