Esempio n. 1
0
        public async Task <Controllers.Responses.Customer> GetCustomerByFirstAndLastName(string firstName, string lastName)
        {
            var customer = await _repository.GetCustomerByFirstAndLastName(firstName, lastName);

            return(customer == null ? null : _factory.CreateCustomerResponse(customer));
        }