public void OnDocumentSendingEntry() { if (CurrentProject.WorkflowState.CurrentState == ProjectWorkflow.State.DocumentSending) { InvestorNotification.DocumentUpdate(CurrentProject); AdminNotification.DocumentUpdate(CurrentProject); } else { CurrentProject.InvestorUser = CurrentProject.Responses.Find(r => r.IsVerified).InvestorEmail; InvestorNotification.ProjectAproved(CurrentProject); } ProcessMoving(ProjectWorkflow.State.DocumentSending, "Проект в стадии сбора документов"); }
public void OnDocumentSendingExit() { InvestorNotification.DocumentUpdate(CurrentProject); }