Exemple #1
0
        public int employeeCreation(EmployeeCreationInput mobj)
        {
            mobj.Password = !string.IsNullOrEmpty(mobj.Password) ? Commonclass.Encrypt(mobj.Password) : mobj.Password;
            List <EmployeeCreationInput> lstEmp = new List <EmployeeCreationInput>();

            lstEmp.Add(mobj);
            mobj.dtEmployeecreation = Commonclass.returnListDatatable(PersonaldetailsUDTables.getEmployeeDatanew(), lstEmp);
            return(Iobj.employeeCreation(mobj));
        }
Exemple #2
0
 public int employeeCreation(EmployeeCreationInput mobj)
 {
     return(dobj.employeeCreation(mobj, "usp_insert_createEmployee"));
 }