示例#1
0
        public async Task <IActionResult> ImageDelete([FromRoute] int id, Guid imageId)
        {
            await _imageUploadLogic.Delete(imageId);

            await _rugLogic.UnAssignImage(id, imageId);

            return(Ok($"Successfully assigned image `{imageId}` from rug id: {id}"));
        }
        public async Task <IActionResult> Delete([FromRoute] Guid id)
        {
            var result = await _imageUploadLogic.Delete(id);

            return(Ok(result));
        }