public bool SaveCustomer(Customer customer) { return(CustomerRepository.Save(customer)); }
public List <Customer> GetCustomers() { return(CustomerRepository.LoadAll()); }
public Customer Save(Customer customer) { var result = CustomerRepository.Save(customer); return(result); }
public Customer Load(int customerId) { Customer customer = CustomerRepository.Load(customerId); return(customer); }
public List <Customer> LoadAll() { List <Customer> customers = CustomerRepository.LoadAll(); return(customers); }