Ejemplo n.º 1
0
        public bool AddEmployeeUserType(EmployeeUserType employeeUserType)
        {
            employeeUserType.NationalCode = this.NationalCode;
            EmployeeUserTypeDBAccess employeeUserTypeDBAccess = new EmployeeUserTypeDBAccess();

            if (employeeUserTypeDBAccess.Insert(employeeUserType) > 0)
            {
                return(true);
            }
            return(false);
        }
Ejemplo n.º 2
0
        public bool AddEmployeeUserType(EmployeeUserType employeeUserType)
        {
            employeeUserType.UserTypeID = this.UserTypeID;
            EmployeeUserTypeDBAccess employeeUserTypeDBAccess = new EmployeeUserTypeDBAccess();

            if (employeeUserTypeDBAccess.Insert(employeeUserType) > 0)
            {
                return(true);
            }
            return(false);
        }
Ejemplo n.º 3
0
 public EmployeeUserTypeHandler()
 {
     employeeUserTypeDb = new EmployeeUserTypeDBAccess();
 }