public Customer?CreateCustomer(Customer customer) { customer.CustomerId = RepositoryUtils.GetPrimaryKey(); customer.RewardPoints = 500; customer.Status = MemberStatus.Bronze; return(_dataStore.TryAdd(customer.CustomerId, customer) ? customer : null); }