Ejemplo n.º 1
0
 public static string GetRoomId(long AccommodationId)
 {
     DataLayer.Accommodation property = new DataLayer.Accommodation();
     return(property.GetRoomId(AccommodationId));
 }
Ejemplo n.º 2
0
 public static long getAccommodationCountByStatus(int status, long BookingId)
 {
     DataLayer.Accommodation acc = new DataLayer.Accommodation();
     return(acc.getAccommodationCountByStatus(status, BookingId));
 }
Ejemplo n.º 3
0
 public static void Delete(long AccommodationId)
 {
     DataLayer.Accommodation Accommodation = new DataLayer.Accommodation();
     Accommodation.Delete(AccommodationId);
 }
Ejemplo n.º 4
0
 //*Added by rahul for getting Inventory API Type
 public static long GetInventoryAPIType(long accommodationId)
 {
     DataLayer.Accommodation acc = new DataLayer.Accommodation();
     return(acc.GetInventoryAPIType(accommodationId));
 }
Ejemplo n.º 5
0
 public static string GetAccommodationTitle(long accommodationId)
 {
     DataLayer.Accommodation acc = new DataLayer.Accommodation();
     return(acc.GetAccommodationTitle(accommodationId));
 }
Ejemplo n.º 6
0
 public static void Accommodation_Amadeus_Delete(long pPropertyId)
 {
     DataLayer.Accommodation acc = new DataLayer.Accommodation();
     // data.Validate();
     acc.Accommodation_Amadeus_Delete(pPropertyId);
 }
Ejemplo n.º 7
0
 public static long GetPropertyId(long accommodationId)
 {
     DataLayer.Accommodation acc = new DataLayer.Accommodation();
     return(acc.GetPropertyId(accommodationId));
 }
Ejemplo n.º 8
0
 public static long Save_Amadeus(CLayer.Accommodation data)
 {
     DataLayer.Accommodation acc = new DataLayer.Accommodation();
     data.Validate();
     return(acc.Save_Amadeus(data));
 }
Ejemplo n.º 9
0
 public static List <CLayer.Accommodation> GetAllAccByPropertyid(long propertyId)
 {
     DataLayer.Accommodation acc = new DataLayer.Accommodation();
     return(acc.GetAllAccByPropertyid(propertyId));
 }
Ejemplo n.º 10
0
 public static List <CLayer.Accommodation> GetAllForOwnerProperty(long propertyId, int rateType)
 {
     DataLayer.Accommodation acc = new DataLayer.Accommodation();
     return(acc.GetAllForOwnerProperty(propertyId, rateType));
 }
Ejemplo n.º 11
0
 public static void UpdateGDSAccommodationAvailability(List <string> codes, long PropertyId)
 {
     DataLayer.Accommodation property = new DataLayer.Accommodation();
     property.UpdateGDSAccommodationAvailability(codes, PropertyId);
 }
Ejemplo n.º 12
0
 public static CLayer.Accommodation Get(long AccommodationId)
 {
     DataLayer.Accommodation acc = new DataLayer.Accommodation();
     return(acc.Get(AccommodationId));
 }