public IList <DC_Activity_InclusionsDetails> GetActivityInclusionDetails(DC_Activity_InclusionDetails_RQ RQ) { using (BL_Activity objBL = new BL_Activity()) { List <DC_Activity_InclusionsDetails> searchResults = new List <DC_Activity_InclusionsDetails>(); searchResults = objBL.GetActivityInclusionDetails(RQ); if (searchResults == null) { throw new WebFaultException <string>("No records found.", System.Net.HttpStatusCode.NoContent); } return(searchResults); } }