예제 #1
0
 public List <DataContracts.Masters.DC_Activity_Flavour_Options> GetActivityFlavourOptions(DataContracts.Masters.DC_Activity_Flavour_Options_RQ RQ)
 {
     using (DataLayer.DL_Activity obj = new DataLayer.DL_Activity())
     {
         return(obj.GetActivityFlavourOptions(RQ));
     }
 }
예제 #2
0
파일: Activity.cs 프로젝트: dilip07156/WCF
 public List <DataContracts.Masters.DC_Activity_Flavour_Options> GetActivityFlavourOptions(DataContracts.Masters.DC_Activity_Flavour_Options_RQ RQ)
 {
     using (BL_Activity objBL = new BL_Activity())
     {
         List <DC_Activity_Flavour_Options> searchResults = new List <DC_Activity_Flavour_Options>();
         searchResults = objBL.GetActivityFlavourOptions(RQ);
         if (searchResults == null)
         {
             throw new WebFaultException <string>("No records found.", System.Net.HttpStatusCode.NoContent);
         }
         return(searchResults);
     }
 }