public string Create(CustomerValue Value) { var customer = new Customer(this.CustomerRepository); this.CustomerRepository.CreateCustomer(Value); return Value.CustomerID; }
public void CreateCustomer(CustomerValue Customer) { Context.Customers.Add(Customer); Context.SaveChanges(); }
public void Load(string CustomerID) { this._CustomerValue = this._CustomerRepository.GetCustomer(CustomerID); }
public void Create(CustomerValue Value) { this._CustomerRepository.CreateCustomer(Value); }