public Customer(CustomerInfo cInfo) : this() { this.entity = cInfo.Map <CustomerEntity>(); }
public Customer(int id) : this() { this.entity = customerRepo.GetByKey(id); }