コード例 #1
0
 // This fuction does not contain any business logic, it simply returns the
 // list of contractTypes, we can put some logic here if needed
 public List <ContractType> SearchLike(ContractType contractType)
 {
     return(contractTypeDb.SearchLike(contractType));
 }
コード例 #2
0
 // This fuction does not contain any business logic, it simply returns the
 // list of contractTypes, we can put some logic here if needed
 public Int64 Insert(ContractType contractType)
 {
     return(contractTypeDb.Insert(contractType));
 }
コード例 #3
0
 public bool Exists(ContractType contractType)
 {
     return(contractTypeDb.Exists(contractType));
 }
コード例 #4
0
 // This fuction does not contain any business logic, it simply returns the
 // list of contractTypes, we can put some logic here if needed
 public bool Update(ContractType contractType)
 {
     return(contractTypeDb.Update(contractType));
 }