コード例 #1
0
        public JsonResult DeleteTag(long tagId)
        {
            ResponseDTO response = null;

            logginghelper.Log(LoggingLevels.Info, "Class: " + classname + " :: DeleteTag - Begin");
            try
            {
                response = dataaccess.DeleteTag(tagId);
            }
            catch (Exception ex)
            {
                logginghelper.Log(LoggingLevels.Error, "Class: " + classname + " :: DeleteTag" + ex);
            }
            logginghelper.Log(LoggingLevels.Info, "Class: " + classname + " :: DeleteTag - End");
            return(Json(response, JsonRequestBehavior.AllowGet));
        }