public static IEnumerable<DAL.SiteList> SiteList(String ClientID, String SiteID) { try { IRecordList objtext = new BALSite(); IEnumerable<DAL.SiteList> listRecord = (IEnumerable<DAL.SiteList>)objtext.RecordList(ClientID, SiteID); return listRecord; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.SiteList> SiteList(String UserID, String UserType, String RoleName) { try { IListView objtext = new BALSite(); IEnumerable<DAL.SiteList> listRecord = (IEnumerable<DAL.SiteList>)objtext.RecordList(UserID, UserType, RoleName); return listRecord; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.SiteInLoggerList> SiteInDataLoggerList(String SiteID) { try { IGetAllRecordList objtext = new BALSite(); IEnumerable<DAL.SiteInLoggerList> listRecord = (IEnumerable<DAL.SiteInLoggerList>)objtext.RecordList(SiteID); return listRecord; } catch (Exception ex) { throw; } }