public async Task <ActionResult> PostAttributes([FromBody] VehicleAttribute attribute) { var existingItem = await _repo.Get(attribute.VehicleVIN); if (existingItem != null) { await _repo.AddAttribute(attribute); return(Created("", attribute)); } else { return(NotFound()); } }