Пример #1
0
 public List <DataContracts.Masters.DC_Activity_SupplierProductMapping> GetActSupplierProdMapping(DataContracts.Masters.DC_Activity_SupplierProductMapping_RQ RQ)
 {
     using (DataLayer.DL_Activity obj = new DataLayer.DL_Activity())
     {
         return(obj.GetActSupplierProdMapping(RQ));
     }
 }
Пример #2
0
 public IList <DataContracts.Masters.DC_Activity_SupplierProductMapping> GetActSupplierProdMapping(DataContracts.Masters.DC_Activity_SupplierProductMapping_RQ RQ)
 {
     using (BL_Activity objBL = new BL_Activity())
     {
         List <DC_Activity_SupplierProductMapping> searchResults = new List <DC_Activity_SupplierProductMapping>();
         searchResults = objBL.GetActSupplierProdMapping(RQ);
         if (searchResults == null)
         {
             throw new WebFaultException <string>("No records found.", System.Net.HttpStatusCode.NoContent);
         }
         return(searchResults);
     }
 }