public static List <Object> populateAllPendingReq(string empNum) { string s = EmployeeDAO.getDepCodetOfEmp(empNum); return(RequisitionDAO.getAllPendingReqData(s)); }
/** added by nitin for wcf * */ public static List <RequisitionList> getAllPendingReq(string empNum) /// for WCF { string s = EmployeeDAO.getDepCodetOfEmp(empNum); return(RequisitionDAO.getAllPendingReqDataW(s)); }
//public static string getRole(string userna) //{ // return EmployeeDAO.getRole(userna); //} public static Employee getUser(string userna) { return(EmployeeDAO.getEmpoyeeByUserName(userna)); }
/**** added by zhu * */ public static bool verifyUserName(String uname, String pass) { return(EmployeeDAO.validatelogin(uname, pass)); }
public static Employee getEmployeeinfo(string username) { Employee emp = EmployeeDAO.getEmployeeinfo(username); return(emp); }
//////****************Sreeja********************/////// /****added by zhu * */ public static bool verifyUserName(String uname, String pass) { UniversityStoreEntities EN = new UniversityStoreEntities(); return(EmployeeDAO.verifyUserName(uname, pass)); }
/** added by ashwin * */ public static List <Employee> getallemployees(String deptc) { List <Employee> emp = EmployeeDAO.getallemployees(deptc); return(emp); }