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)); }
public int employeeCreation(EmployeeCreationInput mobj) { return(dobj.employeeCreation(mobj, "usp_insert_createEmployee")); }