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