public static List<SelectListItem> SearchFieldDDList() { try { ISearchField sobj = new BALCSVReading(); List<SelectListItem> lstsearchField = sobj.SearchField(); return lstsearchField; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.CSVReadingList> CSVRecordList() { try { IListRecord objtext = new BALCSVReading(); IEnumerable<DAL.CSVReadingList> listRecord = (IEnumerable<DAL.CSVReadingList>)objtext.ListRecord(); return listRecord; } catch (Exception ex) { throw; } }