Esempio n. 1
0
        public IHttpActionResult Post(ArrayProductos arrayProductos)
        {
            try
            {
                var productoCarritoManager = new ProductoCarritoManagement();
                productoCarritoManager.CreateList(arrayProductos);
                apiResponse = new ApiResponse();

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