예제 #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);
        }
예제 #3
0
        public static bool ApproveProperty(long propertyId)
        {
            SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
            var isHidden = sqlPropertyProvider.ApproveProperty(propertyId);

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

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

            return(isHidden);
        }
예제 #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);
        }
예제 #9
0
        public static bool DeleteProperty(long PropertyId)
        {
            SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
            var isDelete = sqlPropertyProvider.DeleteProperty(PropertyId);

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

            return(id);
        }
예제 #11
0
파일: PropertyManager.cs 프로젝트: anam/abs
    public static Property GetPropertyByID(int id)
    {
        Property            property            = new Property();
        SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();

        property = sqlPropertyProvider.GetPropertyByID(id);
        return(property);
    }
예제 #12
0
파일: PropertyManager.cs 프로젝트: anam/abs
    public static List <Property> GetAllPropertiesSearch(string SearchString)
    {
        List <Property>     properties          = new List <Property>();
        SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();

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

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

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

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

            return(propertyProvider.GetPendingPropertyList());
        }
예제 #17
0
 public static bool UpdateProperty(Property property)
 {
     SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
     return sqlPropertyProvider.UpdateProperty(property);
 }
예제 #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));
        }
예제 #20
0
        public static List <PropertySearchResult> GetAllPropertySearchResults()
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

            return(propertyProvider.GetAllPropertySearchResults());
        }
예제 #21
0
 public static int InsertProperty(Property property)
 {
     SqlPropertyProvider sqlPropertyProvider = new SqlPropertyProvider();
     return sqlPropertyProvider.InsertProperty(property);
 }
예제 #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));
        }
예제 #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));
        }
예제 #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));
        }
예제 #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));
        }
예제 #30
0
        public static PropertyView GetPropertyViewById(int id)
        {
            SqlPropertyProvider propertyProvider = new SqlPropertyProvider();

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

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

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

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

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