concept CreateCustomer method in category c#

appears as: The CreateCustomer method, CreateCustomer method, CreateCustomer method
Code like a Pro in C#

This is an excerpt from Manning's book Code like a Pro in C#.

Before we write our first unit test, let’s create the repository class and the skeleton of our first method: CreateCustomer. The CreateCustomer method accepts an input of type string representing a customer’s name, validates that input, and inserts a new entity into the database. CustomerRepository lives in a new folder called “RepositoryLayer” in the FlyingDutchmanAirlines project.

_context = _context;