Esempio n. 1
0
        public async Task <IActionResult> GetInventoryByProduct(int id)
        {
            Logger?.LogDebug("{0} has been invoked", nameof(GetInventoryByProduct));

            // Get response from business logic
            var response = await ProductionBusinessObject.GetInventoryByProduct(id);

            // Return as http response
            return(response.ToHttpResponse());
        }