Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 3
0
 public bool Exists(RoleType roleType)
 {
     return(roleTypeDb.Exists(roleType));
 }
Ejemplo n.º 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));
 }