public static int Add(Employees employees, Designations designations) { int retvalue = -1; employees.DesignationsId = Designations.Add(designations); retvalue = Employees.Add(employees); return(retvalue); }
public static int Add(Employees employees, EmployeeTypes employeeTypes) { int retvalue = -1; employees.EmployeeTypesId = EmployeeTypes.Add(employeeTypes); retvalue = Employees.Add(employees); return(retvalue); }
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); }