public async Task <ActionResult <Design> > PostDesign(DesignDto incomingData) { await _design.CreateDesign(incomingData); return(CreatedAtAction("GetDesign", new { id = incomingData.Id }, incomingData)); }
public async Task <ActionResult <Design> > PostDesign(DesignDto incomingData) { await _design.CreateDesign(incomingData); return(CreatedAtAction("GetDesign", new { id = incomingData.Id }, incomingData)); }