public async Task <ActionResult <Design> > Put(Design design) { if (design == null) { return(BadRequest()); } await _designService.UpdateDesignAsync(_mapper.Map <Design, DesignDTO>(design)); return(Ok(design)); }