Esempio n. 1
0
        public void deletePathReport(int id)
        {
            string resp = "";

            try
            {
                connectModel();
                systemConfigurationModel.deletePathReport(id);

                resp = "{\"type\":\"success\", \"message\":\"Path Report deleted Successfully.\"}";
            }
            catch (Exception)
            {
                resp = "{\"type\":\"danger\", \"message\":\"Can not be deleted the Path Report. Please try again.\"}";
            }

            response(resp);
        }