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); }
public IResult Add(Reservation reservation) { _reservationDal.Add(reservation); return(new SuccessResult()); }
public void Add(Reservation entity) { _reservationDal.Add(entity); }