public ActionResult Initial(AccountDetails_Customer account) { AccountDetails_Customer newJob = new AccountDetails_Customer(); var cust = GetCustomer(); newJob.CustomerId = cust.CustomerId; newJob.date = account.date; db.AccountDetails_Customers.Add(newJob); return(View()); }
//GET public ActionResult Initial() { AccountDetails_Customer account = new AccountDetails_Customer(); return(View(account)); }