public async Task <IActionResult> PlaceOrder([FromBody] IList <CartItemViewModel> cart) { EnsureBuyerProfile(); var order = await TransposeCartToOrder(cart); order = await OrdersRepo.Add(order); return(Ok(Mapper.Map <OrderViewModel>(order))); }