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)); } }
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); } }