public bool AddAccomodationDynamicAttributes(DataContracts.Masters.DC_DynamicAttributes DA) { using (BusinessLayer.BL_Masters obj = new BL_Masters()) { return(obj.AddDynamicAttributes(DA)); } }
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)); } }