public int Insert(EmployeeDTO entity) { empRep.AddInputParameters("@usrID", entity.usrID); empRep.AddInputParameters("@empName", entity.empName); empRep.AddInputParameters("@empSurname", entity.empSurname); empRep.AddInputParameters("@empMiddleName", entity.empMiddleName); empRep.AddInputParameters("@empMail", entity.empMail); empRep.AddInputParameters("@empPhone", entity.empPhone); return(empRep.IUD("sp_Employee_Insert", CommandType.StoredProcedure)); }