Example #1
0
        public IActionResult AddCustomer(Customer cus)
        {
            BookStoreContext context = new BookStoreContext();

            context.AddCustomer(cus);
            return(RedirectToAction("CustomerManagement"));
        }