public CustomerDto Get(int customerID) { var customer = _repo.Get(customerID); CustomerDto cusDto = new CustomerDto(customer, _repo.GetLogin(customer.CustomerID)); cusDto.PopulateAccounts(); return(cusDto); }
public CustomerDto Get(int customerID) { var customer = _repo.Get(customerID); CustomerDto cusDto = new CustomerDto(customer, _repo.GetLogin(customer.CustomerID)); cusDto.PopulateAccounts(); return(cusDto); }