public IList <DataContracts.Masters.DC_DynamicAttributes> GetDynamicAttributes(DataContracts.Masters.DC_DynamicAttributes RQ) { using (BusinessLayer.BL_Masters obj = new BL_Masters()) { List <DataContracts.Masters.DC_DynamicAttributes> searchResults = new List <DataContracts.Masters.DC_DynamicAttributes>(); searchResults = obj.GetDynamicAttributes(RQ); return(searchResults); } }
public IList <DataContracts.Masters.DC_DynamicAttributes> GetAccomodationDynamicAttributes(string Accomodation_Id, string SubObject_Id, string DataKey_Id) { using (BusinessLayer.BL_Masters obj = new BL_Masters()) { List <DataContracts.Masters.DC_DynamicAttributes> searchResults = new List <DataContracts.Masters.DC_DynamicAttributes>(); DataContracts.Masters.DC_DynamicAttributes RQ = new DataContracts.Masters.DC_DynamicAttributes(); RQ.DynamicAttribute_Id = Guid.Parse(DataKey_Id); RQ.ObjectSubElement_Id = Guid.Parse(SubObject_Id); RQ.Object_Id = Guid.Parse(Accomodation_Id); return(obj.GetDynamicAttributes(RQ)); } }