private void BindCategory(DropDownList obj)
        {
            var result = AccSvc.GetRoomDetails_RoomCategory(Accomodation_ID);

            obj.DataSource     = result;
            obj.DataTextField  = "RoomCategory";
            obj.DataValueField = "Accommodation_RoomInfo_Id";
            obj.DataBind();
        }
        public void ProcessRequest(HttpContext context)
        {
            var PrefixText = context.Request.QueryString["term"];
            var type       = context.Request.QueryString["type"];
            var acco_id    = context.Request.QueryString["acco_id"];
            var acco_SupplierRoomTypeMapping_Id = context.Request.QueryString["acco_SupplierRoomTypeMapping_Id"];


            if (type != null && type == "fillcategory")
            {
                RQ = new MDMSVC.DC_RoomCategoryMaster_RQ();
                if (acco_id != "")
                {
                    var res = Acco.GetRoomDetails_RoomCategory(Guid.Parse(acco_id));
                    context.Response.Write(new JavaScriptSerializer().Serialize(res));
                }
            }
            if (type != null && type == "fillcategorywithdetails")
            {
                RQ = new MDMSVC.DC_RoomCategoryMaster_RQ();
                if (acco_id != "")
                {
                    var res = Acco.GetRoomDetails_RoomCategoryWithDetails(Guid.Parse(acco_id), Guid.Parse(acco_SupplierRoomTypeMapping_Id));
                    context.Response.Write(new JavaScriptSerializer().Serialize(res));
                }
            }
            else
            {
                RQ = new MDMSVC.DC_RoomCategoryMaster_RQ();
                if (PrefixText != "")
                {
                    RQ.RoomCategory = PrefixText;
                }
                var res = Acco.GetRoomCategoryMaster(RQ);
                context.Response.Write(new JavaScriptSerializer().Serialize(res));
            }
        }