BExIS.Web.Shell.Areas.RPM.Controllers.DataStructureEditController._getAttributeElement C# (CSharp) Method

_getAttributeElement() public method

public _getAttributeElement ( long attributeId, string variableName ) : System.Web.Mvc.ActionResult
attributeId long
variableName string
return System.Web.Mvc.ActionResult
        public ActionResult _getAttributeElement(long attributeId, string variableName)
        {
            variableName = Server.UrlDecode(variableName);
            MessageModel validateAttribute = MessageModel.validateAttributeDelete(attributeId);
            if (validateAttribute.hasMessage && validateAttribute.CssId == "0")
            {
                return PartialView("_messageWindow", validateAttribute);
            }
            else
            {
                AttributePreviewStruct attributeElement = new AttributePreviewStruct().fill(attributeId);
                return PartialView("_attributeElement", attributeElement);
            }
        }