Exemple #1
0
        public HttpResponseMessage DeletePicture(long?id)
        {
            if (id != null)
            {
                r.DeleteImage(id);
                r.Save();
            }

            var response = new HttpResponseMessage(HttpStatusCode.OK);

            return(response);
        }