July 2021
Intermediate to advanced
416 pages
11h 53m
English
This chapter covers
GetCustomerByName methodIn the previous chapter, we implemented the CustomerRepository where we can add a customer to the database. We also learned how to use dependency injection to write testable code. This is a splendid start, but we are not done yet. We can add a Customer instance to the database, but how about retrieving one? See figure 7.1 for where we are in the scheme of the book.

Figure 7.1 In this chapter, we’ll continue the ...
Read now
Unlock full access