public List <EmployeeTable> getAll(string user, string userId, int page) { string sqlStr = "delete EmployeeTable where e_Id = " + userId; EmployeeTable.delOrUpTable(sqlStr); return(EmployeeTable.getAll(page)); }
public List <EmployeeTable> getAll(string user, string userId, int page, string comName, string RealName, string Address, string comPhone) { string sqlStr = "update EmployeeTable set e_Name = '" + comName + "',e_RealName = '" + RealName + "',e_Address = '" + Address + "',e_Phone = '" + comPhone + "' where e_Id = " + userId; EmployeeTable.delOrUpTable(sqlStr); return(EmployeeTable.getAll(page)); }
public List <EmployeeTable> getAll(string user, int page, string search) { return(EmployeeTable.getAll(page, search)); }