public ActionResult Edit(int id) { customerService = new Order_Graber_DataService.Services.CustomerService(); CUSTOMERS editCustomer = new CUSTOMERS(); editCustomer = customerService.GetCustomerById(id); return(View(editCustomer)); }
public ActionResult Delete(int id) { customerService = new Order_Graber_DataService.Services.CustomerService(); CUSTOMERS deleteCustomer = new CUSTOMERS(); deleteCustomer = customerService.GetCustomerById(id); return(View(deleteCustomer)); }