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