public async Task <IActionResult> PutDesign(int id, DesignDto incomingData) { if (id != incomingData.Id) { return(BadRequest()); } var updatedDesign = await _design.UpdateDesign(id, incomingData); return(Ok(updatedDesign)); }