public static IEnumerable<DAL.BulkMeterList> BulkMeterRecordList() { try { Icontext objtext = new BALBulkMeter(); IEnumerable<DAL.BulkMeterList> listRecord = (IEnumerable<DAL.BulkMeterList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.BulkMeterMappingList> BulkMeterMappingRecordList(String UserType, String UserID, String RoleName) { try { IRecordList3 objtext = new BALBulkMeter(); IEnumerable<DAL.BulkMeterMappingList> listRecord = (IEnumerable<DAL.BulkMeterMappingList>)objtext.RecordList(UserType, UserID, RoleName); return listRecord; } catch (Exception ex) { throw; } }