예제 #1
0
        public async Task <IActionResult> DeleteImageAsync([FromRoute] Guid tagId)
        {
            bool success = await _tagManager.DeleteTagAsync(tagId);

            if (success)
            {
                return(Ok());
            }
            throw new ArgumentException($"Tag with ID {tagId} could not be deleated");
        }