public IHttpActionResult Delete(Producto producto)
 {
     try
     {
         var productoManager = new ProductoManagement();
         productoManager.Delete(producto);
         apiResponse = new ApiResponse();
         return(Ok(apiResponse));
     }
     catch (BussinessException bex)
     {
         return(InternalServerError(new Exception(bex.AppMessage.Message)));
     }
 }
 public IHttpActionResult Get(string idHotel, string idService)
 {
     try
     {
         var productoManager = new ProductoManagement();
         apiResponse = new ApiResponse();
         var products = productoManager.GetRetriveAllByHotelServicioStatement(Int32.Parse(idHotel), Int32.Parse(idService));
         apiResponse.Data = products;
         return(Ok(apiResponse));
     }
     catch (BussinessException bex)
     {
         return(InternalServerError(new Exception(bex.AppMessage.Message)));
     }
 }
        public IHttpActionResult Put(Producto producto)
        {
            try
            {
                if (producto.Value == null)
                {
                    producto.Value = "N/A";
                }
                var productoManager = new ProductoManagement();
                productoManager.Update(producto);
                apiResponse = new ApiResponse();

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