Exemplo n.º 1
0
 // This fuction does not contain any business logic, it simply returns the
 // list of userTypes, we can put some logic here if needed
 public List <UserType> SearchLike(UserType userType)
 {
     return(userTypeDb.SearchLike(userType));
 }
Exemplo n.º 2
0
 // This fuction does not contain any business logic, it simply returns the
 // list of userTypes, we can put some logic here if needed
 public Int64 Insert(UserType userType)
 {
     return(userTypeDb.Insert(userType));
 }
Exemplo n.º 3
0
 public bool Exists(UserType userType)
 {
     return(userTypeDb.Exists(userType));
 }
Exemplo n.º 4
0
 // This fuction does not contain any business logic, it simply returns the
 // list of userTypes, we can put some logic here if needed
 public bool Update(UserType userType)
 {
     return(userTypeDb.Update(userType));
 }