public static ActionResultContextFacade ExecuteActionAndValidate(this IFrameworkFacade frameworkFacade, string domainType, string instanceId, string actionName, ArgumentsContextFacade argsContext) { var link = frameworkFacade.OidTranslator.GetOidTranslation(domainType, instanceId); var context = frameworkFacade.ExecuteObjectAction(link, actionName, argsContext); return(ValidateActionResult(context)); }