Ejemplo n.º 1
0
        public static int Add(Employees employees, Designations designations)
        {
            int retvalue = -1;

            employees.DesignationsId = Designations.Add(designations);
            retvalue = Employees.Add(employees);
            return(retvalue);
        }
Ejemplo n.º 2
0
        public static int Add(Employees employees, EmployeeTypes employeeTypes)
        {
            int retvalue = -1;

            employees.EmployeeTypesId = EmployeeTypes.Add(employeeTypes);
            retvalue = Employees.Add(employees);
            return(retvalue);
        }
Ejemplo n.º 3
0
        public static int Add(EmployeeSkills employeeSkills, Employees employees, Skills skills)
        {
            int retvalue = -1;

            employeeSkills.EmployeesId = Employees.Add(employees);
            employeeSkills.SkillsId    = Skills.Add(skills);
            retvalue = EmployeeSkills.Add(employeeSkills);
            return(retvalue);
        }