Esempio n. 1
0
 public IList <DataContracts.Masters.DC_Activity_Media> GetActivityMedia(DC_Activity_Media_Search_RQ RQ)
 {
     using (BL_Activity objBL = new BL_Activity())
     {
         List <DataContracts.Masters.DC_Activity_Media> searchResults = new List <DC_Activity_Media>();
         searchResults = objBL.GetActivityMedia(RQ);
         if (searchResults == null)
         {
             throw new WebFaultException <string>("No records found.", System.Net.HttpStatusCode.NoContent);
         }
         return(searchResults);
     }
 }