Example #1
0
        public List <T_FB_BORROWAPPLYMASTER> GetMasterData(string employeeID)
        {
            List <T_FB_BORROWAPPLYMASTER> masterList = null;

            if (!string.IsNullOrEmpty(employeeID))
            {
                BorrowApplyMasterBLL bll = new BorrowApplyMasterBLL();
                masterList = bll.GetMasterData(employeeID);
            }
            else
            {
                masterList = null;
            }
            return(masterList != null && masterList.Count() > 0 ? masterList : null);
        }
Example #2
0
 public List<T_FB_BORROWAPPLYMASTER> GetMasterData(string employeeID)
 {
     List<T_FB_BORROWAPPLYMASTER> masterList = null;
     if (!string.IsNullOrEmpty(employeeID))
     {
         BorrowApplyMasterBLL bll = new BorrowApplyMasterBLL();
         masterList = bll.GetMasterData(employeeID);
     }
     else
     {
         masterList = null;
     }
     return masterList != null && masterList.Count() > 0 ? masterList : null;
 }