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); }
internal void UpdateDetailData(string user, Guid nodeId, Guid detailId, DetailStatus status, string comment, string parameter) { UpdateDetailData(user, nodeId, detailId, (int)status, comment, parameter); }