Exemplo n.º 1
0
        public void Add(ReservationModel Entity)
        {
            Reservation reservation = new Reservation()
            {
                CheckIn        = Entity.CheckIn,
                CheckOut       = Entity.CheckOut,
                FullName       = Entity.FullName,
                NumberOfPeople = Entity.NumberOfPeople,
                TotalPrice     = Entity.TotalPrice
            };

            _reservationDal.Add(reservation);
        }
Exemplo n.º 2
0
 public IResult Add(Reservation reservation)
 {
     _reservationDal.Add(reservation);
     return(new SuccessResult());
 }
Exemplo n.º 3
0
 public void Add(Reservation entity)
 {
     _reservationDal.Add(entity);
 }