Ejemplo n.º 1
0
        public void CreateQuotationPrice(int cruiseId, int tripId, int roomClassId, int RoomTypeId, bool isCharter, int numberOfPassenger, double price, Quotation quotation)
        {
            var quotationPrice = new QuotationPrice()
            {
                CruiseId          = cruiseId,
                TripId            = tripId,
                RoomClassId       = roomClassId,
                RoomTypeId        = RoomTypeId,
                Price             = price,
                Quotation         = quotation,
                IsCharter         = isCharter,
                NumberOfPassenger = numberOfPassenger,
            };

            QuotationCreateBLL.QuotationPriceSaveOrUpdate(quotationPrice);
        }
Ejemplo n.º 2
0
        public void CreateQuotationPrice(int cruiseId, int tripId, int roomClassId, int RoomTypeId, bool isCharter, int numberOfPassenger, double price, Quotation quotation)
        {
            var quotationPrice = new QuotationPrice()
            {
                CruiseId          = cruiseId,
                TripId            = tripId,
                RoomClassId       = roomClassId,
                RoomTypeId        = RoomTypeId,
                Price             = price,
                Quotation         = quotation,
                IsCharter         = isCharter,
                NumberOfPassenger = numberOfPassenger,
            };

            QuotationCreateBLL.QuotationPriceSaveOrUpdate(quotationPrice);
            Response.Redirect("QuotationManagement.aspx?NodeId=1&SectionId=15");
        }
 public void QuotationPriceSaveOrUpdate(QuotationPrice quotationPrice)
 {
     QuotationPriceRepository.SaveOrUpdate(quotationPrice);
 }