public ProductPage GetRecordPage(int iPageNo, int iPageSize) { ProductPage objReturn = new ProductPage(); try { using (Product_DAL objDAL = new Product_DAL()) { objReturn = objDAL.GetRecordPage(iPageNo, iPageSize); } } catch (Exception ex) { log.Error("GetRecordPage Error: ", ex); } return(objReturn); }