Beispiel #1
0
 public static int GetAccommodationTypeTamCatID(long ID)
 {
     DataLayer.AccommodationType accType = new DataLayer.AccommodationType();
     //roomtype.Validate();
     return(accType.GetAccommodationTypeTamCatID(ID));
 }
Beispiel #2
0
 public static void Delete(int RoomTypeID)
 {
     DataLayer.AccommodationType accType = new DataLayer.AccommodationType();
     accType.Delete(RoomTypeID);
     return;
 }
Beispiel #3
0
 public static CLayer.AccommodationType Get(int RoomTypeID)
 {
     DataLayer.AccommodationType accType = new DataLayer.AccommodationType();
     return(accType.Get(RoomTypeID));
 }
Beispiel #4
0
 public static int AccommodationTypeSave(string title, int CatID)
 {
     DataLayer.AccommodationType accType = new DataLayer.AccommodationType();
     //roomtype.Validate();
     return(accType.AccommodationTypeSave(title, CatID));
 }
Beispiel #5
0
 public static int TBOAccommodationTypeSave(string title)
 {
     DataLayer.AccommodationType accType = new DataLayer.AccommodationType();
     //roomtype.Validate();
     return(accType.TBOAccommodationTypeSave(title));
 }
Beispiel #6
0
 public static int Save(CLayer.AccommodationType roomtype)
 {
     DataLayer.AccommodationType accType = new DataLayer.AccommodationType();
     roomtype.Validate();
     return(accType.Save(roomtype));
 }
Beispiel #7
0
 public static List <CLayer.Accommodation> GetBypropertyid(long id)
 {
     DataLayer.AccommodationType accType = new DataLayer.AccommodationType();
     return(accType.GetBypropertyid(id));
 }
Beispiel #8
0
 public static List <CLayer.AccommodationType> GetAll()
 {
     DataLayer.AccommodationType accType = new DataLayer.AccommodationType();
     return(accType.GetAll());
 }
Beispiel #9
0
 public static List <CLayer.StayCategoryAccommodationType> GetAllPropertyType(int roomTypeId)
 {
     DataLayer.AccommodationType accType = new DataLayer.AccommodationType();
     return(accType.GetAllStayCategoryType(roomTypeId));
 }
Beispiel #10
0
 public static void SetCategoryType(int accTypeId, string categoryTypesCSV)
 {
     DataLayer.AccommodationType accType = new DataLayer.AccommodationType();
     accType.SetCategoryType(accTypeId, categoryTypesCSV);
 }