เพิ่มapi dashboard exam
This commit is contained in:
parent
ac3d2c9d26
commit
eb567349b4
10 changed files with 1956 additions and 261 deletions
|
|
@ -484,14 +484,14 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
if (periodExam == null)
|
||||
throw new Exception(GlobalMessages.ExamNotFound);
|
||||
|
||||
// if (periodExam.Positions.Count() == 0)
|
||||
// {
|
||||
// periodExam.Positions.Add(new HomePageLinkResponseItem
|
||||
// {
|
||||
// Title = "x.Name",
|
||||
// Url = $"{Configuration.GetValue<string>("Domain")}/exam/{periodExam.Id}/00000000-0000-0000-0000-000000000000"
|
||||
// });
|
||||
// }
|
||||
if (periodExam.Positions.Count() <= 0)
|
||||
{
|
||||
periodExam.Positions.Add(new HomePageLinkResponseItem
|
||||
{
|
||||
Title = "สมัครสอบ",
|
||||
Path = $"{periodExam.Id}/00000000-0000-0000-0000-000000000000",
|
||||
});
|
||||
}
|
||||
|
||||
var i = 0;
|
||||
foreach (var item in periodExam.Images)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue