Beispiel #1
0
        public async Task <IHttpActionResult> SendFacturaAsync(ReservationInvoice reservationInvoice)
        {
            try
            {
                var reservationManager = new ReservationManagement();
                await reservationManager.SendInvoiceAsync(reservationInvoice);

                apiResponse = new ApiResponse();

                return(Ok(apiResponse));
            }
            catch (BussinessException bex)
            {
                return(InternalServerError(new Exception(bex.AppMessage.Message)));
            }
        }