feat: set second party for institution verification
This commit is contained in:
@@ -1743,6 +1743,15 @@ public class InstitutionContractRepository : RepositoryBase<long, InstitutionCon
|
||||
NationalCodeOrNationalId =
|
||||
query.party.IsLegal == "حقیقی" ? query.party.Nationalcode : query.party.NationalId,
|
||||
LegalType = query.party.IsLegal == "حقیقی" ? LegalType.Real : LegalType.Legal,
|
||||
},
|
||||
FirstParty = new InstitutionContratVerificationParty()
|
||||
{
|
||||
Address = "رشت - خیابان حاجی آیاد - کوچه سپهدار - ساختمان داماش - واحد 17",
|
||||
PhoneNumber = "09111111111",
|
||||
CeoName = "سید حسن مصباح",
|
||||
CompanyNameOrFullName = "نور داد مهر گستر کاسپین",
|
||||
NationalCodeOrNationalId = "1111111111",
|
||||
LegalType = LegalType.Legal
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -701,14 +701,14 @@ public class institutionContractController : AdminBaseController
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("/institutionContract/Verification/{id:guid}")]
|
||||
[HttpGet("api/institutionContract/Verification/{id:guid}")]
|
||||
[AllowAnonymous]
|
||||
public async Task<ActionResult<GetInstitutionVerificationDetailsViewModel>> GetVerificationDetails(Guid id)
|
||||
{
|
||||
return await _institutionContractApplication.GetVerificationDetails(id);
|
||||
}
|
||||
|
||||
[HttpPost("/institutionContract/Verification")]
|
||||
[HttpPost("api/institutionContract/Verification")]
|
||||
[AllowAnonymous]
|
||||
public async Task<ActionResult<OperationResult>> Verify([FromBody] InstitutionVerificationRequest command)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user