Ejemplo n.º 1
0
        public bool AlterarPorWorkflow(Guid idTarefa, Guid idWorkflow)
        {
            lock (this)
            {
                Tarefa   tarefa   = Consultar(idTarefa);
                Workflow workflow = _workflowService.Consultar(idWorkflow);

                tarefa.IdWorkflow = idWorkflow;
                tarefa.Workflow   = workflow;

                return(Alterar(tarefa));
            }
        }