Пример #1
0
 public bool UpdateUserType(UserTypeEntity userType)
 {
     if (userType.UserTypeID > 0)
     {
         //Update
         return(userTypeDAL.UpdateUserType(userType));
     }
     else
     {
         //Insert
         return(userTypeDAL.InsertUserType(userType));
     }
 }