Exemple #1
0
 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;
     }
 }
Exemple #2
0
 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;
     }
 }
Exemple #3
0
 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;
     }
 }