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