รวม code แก้ไขหลายจุด
This commit is contained in:
@@ -57,7 +57,7 @@ namespace TodoAPI2.Models
|
||||
{
|
||||
var entity = _repository.Get(id);
|
||||
var i = Mapper.Map<rep_eva02WithSelectionViewModel>(entity);
|
||||
i.item_org_id = (from x in ext.GetDepartmentDataForReport() select x).ToList();
|
||||
i.item_org_id = (from x in ext.GetSortingDep() select x).ToList();
|
||||
i.item_round_id = (from x in ext.GetEvaRound() select x).ToList();
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace TodoAPI2.Models
|
||||
public rep_eva02WithSelectionViewModel GetBlankItem()
|
||||
{
|
||||
var i = new rep_eva02WithSelectionViewModel();
|
||||
i.item_org_id = (from x in ext.GetDepartmentDataForReport() select x).ToList();
|
||||
i.item_org_id = (from x in ext.GetSortingDep() select x).ToList();
|
||||
i.item_round_id = (from x in ext.GetEvaRound() select x).ToList();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user