Ejemplo n.º 1
0
 public List <DataContracts.Masters.DC_Activity_CategoryTypes_DDL> GetSupplierProductSubType(DataContracts.Masters.DC_Supplier_DDL _objAct)
 {
     using (DataLayer.DL_Activity obj = new DataLayer.DL_Activity())
     {
         return(obj.GetSupplierProductSubType(_objAct));
     }
 }
Ejemplo n.º 2
0
 public IList <DataContracts.Masters.DC_Activity_CategoryTypes_DDL> GetSupplierProductSubType(DataContracts.Masters.DC_Supplier_DDL _objAct)
 {
     using (BL_Activity objBL = new BL_Activity())
     {
         List <DC_Activity_CategoryTypes_DDL> searchResults = new List <DC_Activity_CategoryTypes_DDL>();
         searchResults = objBL.GetSupplierProductSubType(_objAct);
         if (searchResults == null)
         {
             throw new WebFaultException <string>("No records found.", System.Net.HttpStatusCode.NoContent);
         }
         return(searchResults);
     }
 }