Ejemplo n.º 1
0
        public IActionResult Delete(string id)
        {
            var delete = _col.GetOne(id);

            FileOperation.DeleteFile(rootPath, delete.ImgUrl);
            return(Json(_col.Delete(delete)));
        }