public void Update(long id, ContractParam param)
 {
     Data.Entity.Contract oldEntity = ContractDao.Find(id);
     Data.Entity.Contract newEntity = ContractParamConverter.Convert(param, null);
     ContractDao.Update(newEntity);
 }
Beispiel #2
0
 public Contract UpdateDate(long contractId, DateTime startDate, DateTime endDate)
 {
     return(_contractDao.Update(contractId, startDate, endDate));
 }