public ReservationDtocs AddReservation(ReservationResponse reservation)
        {
            var Finde = reservation.DateDue.DayOfWeek.Equals('5' & '6');
            var hours = reservation.DateDue.ToString("HH:mm tt");

            ReservationDtocs clientExist = _reservationApp.GetReservationClietntId(reservation.IdClient);

            if (clientExist == null)
            {
                new ReservationDtocs
                {
                    MessageError = "Client is Required"
                };
            }

            ClientDto clientDto = _clientRepository.GetClienteId(reservation.IdClient);

            if (clientDto.Age < 21 || clientDto.Status.Equals("Mora").Equals("Cancelado"))
            {
                new ReservationDtocs
                {
                    MessageError = "Cliente no apto para reserva"
                };
            }


            if (reservation.IdEvent == 0)
            {
                new ReservationDtocs
                {
                    MessageError = "Category Event is Required"
                };
            }

            if (reservation.DateDue.DayOfWeek.Equals('0'))
            {
                new ReservationDtocs
                {
                    MessageError = "Not reservations on Sunday"
                };
            }

            ReservationDtocs newReserva = new ReservationDtocs
            {
                IdReservation = reservation.IdReservation,
                DateDue       = reservation.DateDue,
                IdClient      = reservation.IdClient,
                IdEvent       = reservation.IdEvent
            };

            ReservationDtocs response = _reservationApp.AddReservation(newReserva);

            return(response);
        }
        public ReservationDtocs AddClient(ReservationDtocs reservation)
        {
            ReservationDtocs reservationDto = _resevationRepository.AddReservation(reservation);

            return(reservationDto);
        }