public ActionResult <Dealership> PostDealership(Dealership dealership) { _dealership.PostDearlership(dealership); return(CreatedAtAction("GetCar", new { id = dealership.Id }, dealership)); }
public ActionResult <Dealership> PostDealership(Dealership dealership) { _dealership.PostDearlership(dealership); return(CreatedAtAction("GetCar", new { id = dealership.Id }, dealership)); }