コード例 #1
0
        public ActionResult <User> Delete(int id)
        {
            var cover = _coverService.DeleteCover(id);

            if (cover == null)
            {
                return(StatusCode(404, "Did not fund any cover with that id"));
            }

            return(NoContent());
        }