API Upload, Download and Delete Complete

This commit is contained in:
Suphonchai Phoonsawat 2023-03-25 21:01:46 +07:00
parent bdd327cce2
commit 27a3b1e771
34 changed files with 1120 additions and 780 deletions

View file

@ -821,22 +821,22 @@
"runtimes/win-arm/native/Microsoft.Data.SqlClient.SNI.dll": {
"rid": "win-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
"fileVersion": "5.0.1.0"
},
"runtimes/win-arm64/native/Microsoft.Data.SqlClient.SNI.dll": {
"rid": "win-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
"fileVersion": "5.0.1.0"
},
"runtimes/win-x64/native/Microsoft.Data.SqlClient.SNI.dll": {
"rid": "win-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
"fileVersion": "5.0.1.0"
},
"runtimes/win-x86/native/Microsoft.Data.SqlClient.SNI.dll": {
"rid": "win-x86",
"assetType": "native",
"fileVersion": "0.0.0.0"
"fileVersion": "5.0.1.0"
}
}
},
@ -1654,7 +1654,7 @@
"runtimes/win-arm64/native/sni.dll": {
"rid": "win-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
"fileVersion": "4.6.25512.1"
}
}
},
@ -1663,7 +1663,7 @@
"runtimes/win-x64/native/sni.dll": {
"rid": "win-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
"fileVersion": "4.6.25512.1"
}
}
},
@ -1672,7 +1672,7 @@
"runtimes/win-x86/native/sni.dll": {
"rid": "win-x86",
"assetType": "native",
"fileVersion": "0.0.0.0"
"fileVersion": "4.6.25512.1"
}
}
},

File diff suppressed because one or more lines are too long

View file

@ -4,6 +4,16 @@
<name>BMA.EHR.Recruit.Service</name>
</assembly>
<members>
<member name="M:BMA.EHR.Recruit.Service.Controllers.RecruitController.UploadFile">
<summary>
ตัวอย่างในการเขียน api เพื่อทำการ upload file
</summary>
<returns></returns>
<response code="200">เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ</response>
<response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response>
<response code="401">ไม่ได้ Login เข้าระบบ</response>
<response code="500">เมื่อเกิดข้อผิดพลาดในการทำงาน</response>
</member>
<member name="M:BMA.EHR.Recruit.Service.Controllers.RecruitController.GetsAsync">
<summary>
แสดงข้อมูลรอบการสอบแข่งขัน

View file

@ -26,9 +26,9 @@
}
},
"MinIO": {
"Endpoint": "http://127.0.0.1:9001",
"AccessKey": "3ECedIJ1DdaH7Jmk",
"SecretKey": "BJR9lZV7QdRI8DBekadszvN6Tpp3wHyf",
"Endpoint": "http://127.0.0.1:9000",
"AccessKey": "XCiP1ubSyuGS5yDT",
"SecretKey": "LFnSRyk144oJERvump8UDxPcjjEyzgum",
"BucketName": "bma-recruit"
}
}

View file

@ -26,7 +26,7 @@
}
},
"MinIO": {
"Endpoint": "http://127.0.0.1:9001",
"Endpoint": "http://127.0.0.1:9000",
"AccessKey": "ZQOGEjHxDesiVIHR",
"SecretKey": "vKTpcxY0Wjjp775aDwNn1q6VWJu8EFb6",
"BucketName": "bma-recruit"