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

            return(emp);
        }
Example #6
0
        //////****************Sreeja********************///////


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

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

            return(emp);
        }