This commit is contained in:
Nakorn Rientrakrunchai
2020-08-16 05:22:17 +07:00
parent 9ad85c83fa
commit cd176eb1d5
8 changed files with 52 additions and 12 deletions

View File

@@ -16,8 +16,8 @@ namespace TodoAPI2.Models
public string org_id { get; set; }
public int? round_id { get; set; }
public Guid? round_id { get; set; }
public string round_text { get; set; }
}
}

View File

@@ -58,7 +58,7 @@ namespace TodoAPI2.Models
var entity = _repository.Get(id);
var i = Mapper.Map<rep_eva01WithSelectionViewModel>(entity);
i.item_org_id = (from x in ext.GetDepartmentDataForReport() select x).ToList();
i.item_round_id = (from x in ext.GetYesNo() select x).ToList();
i.item_round_id = (from x in ext.GetEvaRound() select x).ToList();
return i;