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