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