Example #1
0
        public IActionResult MakeDonation(Donation d)
        {
            listingRepository.AddDonation(d);

            listingRepository.AddDonationRecord(d.value);

            return(RedirectToAction("Listings"));
        }