public async Task <IActionResult> Post([FromBody] Trolley trolley)
        {
            if (trolley == null)
            {
                return(new BadRequestObjectResult("trolley is not provided"));
            }

            double total = await _trolleyService.GetLowestTotal(trolley);

            return(Ok(total));
        }
 public async Task <IActionResult> TrolleyTotal(TrolleyRequest request)
 {
     return(Ok(_trolleryService.GetLowestTotal(request)));
 }