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));
        }
Exemplo n.º 3
0
 //public static string getRole(string userna)
 //{
 //    return EmployeeDAO.getRole(userna);
 //}
 public static Employee getUser(string userna)
 {
     return(EmployeeDAO.getEmpoyeeByUserName(userna));
 }
Exemplo n.º 4
0
 /**** added by zhu
  * */
 public static bool verifyUserName(String uname, String pass)
 {
     return(EmployeeDAO.validatelogin(uname, pass));
 }
Exemplo n.º 5
0
        public static Employee getEmployeeinfo(string username)
        {
            Employee emp = EmployeeDAO.getEmployeeinfo(username);

            return(emp);
        }
Exemplo n.º 6
0
        //////****************Sreeja********************///////


        /****added by zhu
         * */
        public static bool verifyUserName(String uname, String pass)
        {
            UniversityStoreEntities EN = new UniversityStoreEntities();

            return(EmployeeDAO.verifyUserName(uname, pass));
        }
Exemplo n.º 7
0
        /** added by ashwin
         * */
        public static List <Employee> getallemployees(String deptc)
        {
            List <Employee> emp = EmployeeDAO.getallemployees(deptc);

            return(emp);
        }