public static IEnumerable<DAL.DataLoggerlist> DataLoggerList(String UserType, String UserID, String RoleName, String ClientID) { try { IListView4 objtext = new BALDataLogger(); IEnumerable<DAL.DataLoggerlist> listRecord = (IEnumerable<DAL.DataLoggerlist>)objtext.RecordList(UserType, UserID, RoleName, ClientID); return listRecord; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.DataLoggerlist> DataLoggerList() { try { Icontext objtext = new BALDataLogger(); IEnumerable<DAL.DataLoggerlist> listRecord = (IEnumerable<DAL.DataLoggerlist>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }