Example #1
0
 public static Property GetPropertyByID(int id)
 {
     Property property = new Property();
     SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
     property = sqlPropertyProvider.GetPropertyByID(id);
     return property;
 }
        public static long InsertPropertyWorkingDays(PropertyWorkingDays workingDays)
        {
            SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
            var id = sqlPropertyProvider.InsertPropertyWorkingDays(workingDays);

            return(id);
        }
Example #3
0
        public static bool ApproveProperty(long propertyId)
        {
            SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
            var isHidden = sqlPropertyProvider.ApproveProperty(propertyId);

            return(isHidden);
        }
Example #4
0
        public static bool UpdateProperty(Property property)
        {
            SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
            var isUpdate = sqlPropertyProvider.UpdateProperty(property);

            return(isUpdate);
        }
Example #5
0
        public static bool HidePropertyByVendorId(long vendorId)
        {
            SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
            var isHidden = sqlPropertyProvider.HidePropertyByVendorId(vendorId);

            return(isHidden);
        }
Example #6
0
 public static List<Property> GetAllPropertiesSearch(string SearchString)
 {
     List<Property> properties = new List<Property>();
     SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
     properties = sqlPropertyProvider.GetAllPropertiesSearch(SearchString);
     return properties;
 }
        public static bool DeletePropertyWorkingDays(long id)
        {
            SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
            var isDelete = sqlPropertyProvider.DeleteProperty(id);

            return(isDelete);
        }
        public static bool UpdatePropertyWorkingDays(PropertyWorkingDays workingDays)
        {
            SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
            var isUpdate = sqlPropertyProvider.UpdatePropertyWorkingDays(workingDays);

            return(isUpdate);
        }
Example #9
0
        public static bool DeleteProperty(long PropertyId)
        {
            SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
            var isDelete = sqlPropertyProvider.DeleteProperty(PropertyId);

            return(isDelete);
        }
Example #10
0
        public static long InsertProperty(Property property)
        {
            SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
            var id = sqlPropertyProvider.InsertProperty(property);

            return(id);
        }
Example #11
0
    public static Property GetPropertyByID(int id)
    {
        Property            property            = new Property();
        SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();

        property = sqlPropertyProvider.GetPropertyByID(id);
        return(property);
    }
Example #12
0
    public static List <Property> GetAllPropertiesSearch(string SearchString)
    {
        List <Property>     properties          = new List <Property>();
        SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();

        properties = sqlPropertyProvider.GetAllPropertiesSearch(SearchString);
        return(properties);
    }
Example #13
0
        public static AdminPropertyList GetAdminPropertyListById(long propertyId)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetAdminPropertyListById(propertyId));
        }
Example #14
0
        public static List <ClientPropertyRating> PropertyRatings(int Id)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetClientPropertyRatings(Id));
        }
Example #15
0
        public static PropertyDetails GetPropertyDetailsById(int id)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetPropertyDetailsById(id));
        }
Example #16
0
        public static List <AdminPropertyList> GetPendingPropertyList()
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetPendingPropertyList());
        }
Example #17
0
 public static bool UpdateProperty(Property property)
 {
     SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
     return sqlPropertyProvider.UpdateProperty(property);
 }
Example #18
0
        public static BookingConfirmed GetPropertyViewByPropertyIdnBookingId(long propertyId, long bookingId)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetPropertyViewByPropertyIdnBookingId(propertyId, bookingId));
        }
        public static PropertyWorkingDays GetAllPropertyWorkingDaysByPropertyId(long id)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetPropertyWorkingDaysByPropertyId(id));
        }
Example #20
0
        public static List <PropertySearchResult> GetAllPropertySearchResults()
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetAllPropertySearchResults());
        }
Example #21
0
 public static int InsertProperty(Property property)
 {
     SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
     return sqlPropertyProvider.InsertProperty(property);
 }
Example #22
0
        public static List <PropertySearchResultNew> GetPropertiesBySearch(string searchtext)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetPropertiesBySearch(searchtext));
        }
        public static long InsertPropertyRating(PropertyRating propertyRating)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.InsertPropertyRating(propertyRating));
        }
Example #24
0
        public static List <PropertySearchResultNew> GetShareType(string type)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetShareType(type));
        }
        public static long InsertPropertyService(PropertyService service)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.InsertPropertyService(service));
        }
Example #26
0
        public static List <Property> GetAllProperties()
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetAllProperties());
        }
        public static List <PropertyServiceViewModel> GetServicesByPropertyId(long propertyId)
        {
            SqlPropertyProvider sqlGalleryProvider = new SqlPropertyProvider();

            return(sqlGalleryProvider.GetServicesByPropertyId(propertyId));
        }
Example #28
0
        public static List <PropertySearchResultNew> GetPropertiesAndPropertyRating()
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetPropertiesAndPropertyRating());
        }
        public static bool DeletePropertyServiceById(long propertyServiceId)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.DeletePropertyServiceById(propertyServiceId));
        }
Example #30
0
        public static PropertyView GetPropertyViewById(int id)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetPropertyViewById(id));
        }
Example #31
0
        public static List <PropertyServiceViewModel> GetPropertyServiceByPropertyIds(string ids)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetPropertyServiceByPropertyIds(ids));
        }
Example #32
0
        public static Property GetPropertyById(long propertyId)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetPropertyById(propertyId));
        }
Example #33
0
        public static List <FeatureProperty> GetFeaturedProperties(int maxRow)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetFeatureProperties(maxRow));
        }
Example #34
0
        public static List <PropertyServiceViewModel> GetPropertyServicesOnClient(long propertyId)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetPropertyServicesOnClient(propertyId));
        }
Example #35
0
 public static bool DeleteProperty(int propertyID)
 {
     SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
     return sqlPropertyProvider.DeleteProperty(propertyID);
 }