Beispiel #1
0
        public ActionResult <IEnumerable <Doc> > DeleteDoc(string location)
        {
            if (docs.RemoveDoc(location))
            {
                return(docs.GetAllDocs());
            }


            return(BadRequest(new { message = "Could not find the file to delete" }));
        }