Ejemplo n.º 1
0
        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));
        }