@@ -93,7 +93,7 @@ public async Task<ControllingMemberCrcAppCommandResponse> Handle(ControllingMemb
93
93
await _controllingMemberCrcRepository . GetCrcApplicationAsync ( ( Guid ) cmd . ControllingMemberCrcAppRequest . ControllingMemberAppId , ct ) ;
94
94
95
95
ChangeSpec changes = await AddDynamicTasks ( originalApp , request , cmd . LicAppFileInfos , ct ) ;
96
-
96
+
97
97
//update application
98
98
var response = await _controllingMemberCrcRepository . SaveControllingMemberCrcApplicationAsync ( saveCmd , ct ) ;
99
99
@@ -112,7 +112,7 @@ await UploadNewDocsAsync(request.DocumentExpiredInfos,
112
112
null ,
113
113
null ,
114
114
ct ) ;
115
- await _licAppRepository . CommitLicenceApplicationAsync ( response . ControllingMemberAppId , ApplicationStatusEnum . Submitted , ct ) ;
115
+ await _licAppRepository . CommitLicenceApplicationAsync ( response . ControllingMemberAppId , ApplicationStatusEnum . Submitted , null , ct ) ;
116
116
return _mapper . Map < ControllingMemberCrcAppCommandResponse > ( response ) ;
117
117
}
118
118
#region anonymous new
@@ -128,7 +128,7 @@ await ValidateInviteIdAsync(cmd.ControllingMemberCrcAppSubmitRequest.InviteId,
128
128
//create contact for applicant
129
129
CreateContactCmd contactCmd = _mapper . Map < CreateContactCmd > ( request ) ;
130
130
ContactResp contact = await _contactRepository . ManageAsync ( contactCmd , ct ) ;
131
-
131
+
132
132
//save the application
133
133
SaveControllingMemberCrcAppCmd createApp = _mapper . Map < SaveControllingMemberCrcAppCmd > ( request ) ;
134
134
createApp . ContactId = contact . Id ;
@@ -139,7 +139,7 @@ await ValidateInviteIdAsync(cmd.ControllingMemberCrcAppSubmitRequest.InviteId,
139
139
await UploadNewDocsAsync ( request . DocumentExpiredInfos , cmd . LicAppFileInfos , response . ControllingMemberAppId , response . ContactId , null , null , null , null , null , ct ) ;
140
140
141
141
//commit app
142
- await _licAppRepository . CommitLicenceApplicationAsync ( response . ControllingMemberAppId , ApplicationStatusEnum . Submitted , ct ) ;
142
+ await _licAppRepository . CommitLicenceApplicationAsync ( response . ControllingMemberAppId , ApplicationStatusEnum . Submitted , null , ct ) ;
143
143
await DeactiveInviteAsync ( cmd . ControllingMemberCrcAppSubmitRequest . InviteId , ct ) ;
144
144
145
145
return _mapper . Map < ControllingMemberCrcAppCommandResponse > ( response ) ;
@@ -169,7 +169,7 @@ public async Task<ControllingMemberCrcAppCommandResponse> Handle(ControllingMemb
169
169
var response = await this . Handle ( ( ControllingMemberCrcUpsertCommand ) cmd , ct ) ;
170
170
//move files from transient bucket to main bucket when app status changed to Submitted.
171
171
await MoveFilesAsync ( response . ControllingMemberAppId , ct ) ;
172
- await _licAppRepository . CommitLicenceApplicationAsync ( response . ControllingMemberAppId , ApplicationStatusEnum . Submitted , ct ) ;
172
+ await _licAppRepository . CommitLicenceApplicationAsync ( response . ControllingMemberAppId , ApplicationStatusEnum . Submitted , null , ct ) ;
173
173
await DeactiveInviteAsync ( cmd . ControllingMemberCrcAppUpsertRequest . InviteId , ct ) ;
174
174
return new ControllingMemberCrcAppCommandResponse { ControllingMemberAppId = response . ControllingMemberAppId } ;
175
175
}
@@ -362,5 +362,5 @@ private static void ValidateFilesForUpdateAppAsync(ControllingMemberCrcAppUpdate
362
362
throw new ApiException ( HttpStatusCode . BadRequest , "Missing ProofOfFingerprint file." ) ;
363
363
}
364
364
}
365
-
365
+
366
366
}
0 commit comments