public async Task <IHttpActionResult> GetOrderItems(int orderId) { Guid userId = new Guid(this.User.Identity.GetUserId()); OrdersProvider ordersProvider = new OrdersProvider(); IEnumerable <OrderItemModel> orderItems = await ordersProvider.GetOrderItems(orderId, userId); return(this.Ok(orderItems)); }