public string Create(CustomerValue Value) { var customer = new Customer(this.CustomerRepository); this.CustomerRepository.CreateCustomer(Value); return Value.CustomerID; }
public CustomerRp Convert(Customer Entity) { var value = Entity.Export(); return this.MappingEngine.Map<CustomerRp>(value); }