public ActionResult ContractetDetailList(ContractParameter param) { param.Entity.ContractDetail = ContractProvider.GetContractDetail(param.Entity.Id); return(View(new InternalDataTransferToView { //List = ConstructorProvider.GetConstructionTypeList(), //取工程類別總清單 //ContractProvider.GetDetail(param), Data = param })); }
public ActionResult ContractEdit(ContractParameter param) { if ((0L < param.Entity.Id)) { param.Entity = ContractProvider.GetRecordById(param); param.Entity.ConsDetailType = ConstructorProvider.GetConstructorConType(param.Entity.ConstructorId); } else { param.Entity.ConsDetailType = ConstructorProvider.GetAllConType(); } param.Entity.ContractDetail = ContractProvider.GetContractDetail(param.Entity.Id); //取明細表 return(View(new InternalDataTransferToView { //List = ConstructorProvider.GetConstructionTypeList(), //取工程類別總清單 //ContractProvider.GetDetail(param), Data = param })); }