public IActionResult Deposit(Deposit deposit)
        {
            SFundDb db = new SFundDb(_connectionString);

            db.AddDeposit(deposit);
            return(Redirect("/Contributors/Index"));
        }
        public IActionResult New(Contributor contributor, int amount, DateTime createdDate)
        {
            SFundDb db = new SFundDb(_connectionString);

            db.AddContributor(contributor);
            Deposit deposit = new Deposit
            {
                ContributorId = contributor.Id,
                Date          = createdDate,
                Amount        = amount
            };

            db.AddDeposit(deposit);
            return(Redirect("/Contributors/Index"));
        }