Exemplo n.º 1
0
        public IActionResult NewContributer(string firstName, string lastName, string cellNumber, decimal initialDeposit, DateTime createdDate, bool alwaysInclude)
        {
            DbManager db = new DbManager(_connectionString);

            db.AddContributer(firstName, lastName, cellNumber, initialDeposit, createdDate, alwaysInclude);
            return(Redirect("/contributers/contributers"));
        }