// GET: Home
        public ActionResult Index()
        {
            var r = new Random();
            var numItemsInOrder = r.Next(0, 20);

            var model = new NewOrderModel(numItemsInOrder);

            var orderCreator = new OrderCreator();
            orderCreator.Submit(model);

            return View();
        }
        public async Task<IHttpActionResult> Post([FromBody] string content)
        {
            var r = new Random();
            var numItemsInOrder = r.Next(0, 20);

            var model = new NewOrderModel(numItemsInOrder);
            //if (!ModelState.IsValid) return BadRequest("Donation model is invalid.");

            //var newDonation = new NewDonationServiceModel { GiverId = Guid.NewGuid() };
            //newDonation = donation.ApplyTo(newDonation);

            //try
            //{
            //    var finalizedDonation = await DonationService.Create(newDonation);
            //    return CreatedAtRoute("DefaultApi", new { controller = "Donation", id = finalizedDonation.Id }, new CompletedDonationApiModel(finalizedDonation));
            //}
            //catch (Exception e)
            //{
            //    return InternalServerError(e);
            //}

            return Created("http://www.cnn.com", "DONE");
        }