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