public CancelCaseActionLink(IPortalContext portalContext, int languageCode, CancelCaseAction action, bool enabled = true, UrlBuilder url = null, string portalName = null) : base( portalContext, languageCode, action, LinkActionType.CancelCase, enabled, url, portalName, DefaultButtonLabel, DefaultButtonTooltip) { Modal = new ViewCancelCaseModal(); if (url == null) { URL = EntityListFunctions.BuildControllerActionUrl("CancelCase", "EntityAction", new { area = "Portal", __portalScopeId__ = portalContext.Website.Id }); } }
public CancelCaseActionLink() { Modal = new ViewCancelCaseModal(); Enabled = false; }