public void RaiseDenial(Guid instanceId, ServiceIdentity serviceIdentity, string comment)
        {
            WorkflowSupportService.UpgradeWorkflow(Runtime, instanceId);
            var args = new DenialCommandEventArgs(instanceId, serviceIdentity.Id, serviceIdentity.ImpersonatedId)
            {
                Comment = comment
            };

            Denial(null, args);
        }
        public void RaiseSetDenialStatus(Guid instanceId, string comment)
        {
            WorkflowSupportService.UpgradeWorkflow(Runtime, instanceId);
            var serviceIdentity = AuthenticationService.GetCurrentIdentity();
            var args            = new DenialCommandEventArgs(instanceId, serviceIdentity.Id, serviceIdentity.ImpersonatedId)
            {
                Comment = comment
            };

            BillDemandWorkflowService.RaiseSetDenialStatus(args);
        }
        public void RaiseDenialByTechnicalCauses(Guid instanceId, string comment)
        {
            WorkflowSupportService.UpgradeWorkflow(Runtime, instanceId);
            var serviceIdentity = AuthenticationService.GetCurrentIdentity();
            var args            = new DenialCommandEventArgs(instanceId, serviceIdentity.Id, serviceIdentity.ImpersonatedId)
            {
                Comment = comment
            };

            DenialByTechnicalCauses(null, args);
        }
Exemplo n.º 4
0
 public void RaiseSetDenialStatus(DenialCommandEventArgs args)
 {
     SetDenialStatus(null, args);
 }