Beispiel #1
0
        public async Task <ActionResult <Design> > Delete(int id)
        {
            var design = _mapper.Map <DesignDTO, Design>(await _designService.GetDesignAsync(id));
            await _designService.DeleteDesignAsync(design.Id);

            return(Ok(design));
        }