Пример #1
0
        private DetailStatus ConvertDetailStatusFromAction(TaskAction action)
        {
            DetailStatus status = DetailStatus.None;

            switch (action)
            {
            case TaskAction.Send:
            case TaskAction.Approve:
                status = DetailStatus.Approved;
                break;

            case TaskAction.Reject:
                status = DetailStatus.Rejected;
                break;
            }
            return(status);
        }
Пример #2
0
 internal void UpdateDetailData(string user, Guid nodeId, Guid detailId, DetailStatus status, string comment, string parameter)
 {
     UpdateDetailData(user, nodeId, detailId, (int)status, comment, parameter);
 }