public ActionResult <List <ShoppingCartItem> > Get(long shoppingCartId, bool active) { try { _logger.LogInformation("Received get request"); return(Ok(_service.GetShoppingCartItem(shoppingCartId, active))); } catch (Exception exception) { _logger.LogError(exception, exception.Message); return(new StatusCodeResult(500)); } }