private async Task <IList <Employee> > FindByNamePartial(string partialName)
        {
            var service = new EmployeeDirectoryService(TestEmployeeDbContext.GetTestDbContext());
            var results = await service.FindByNamePartialAsync(partialName);

            return(results.ToList());
        }
        public async Task <ActionResult> Lookup(SmsRequest request)
        {
            var incomingMessageText = request.Body;

            var employees = await GetEmployeesIfNumericInput(incomingMessageText) ??
                            await _service.FindByNamePartialAsync(incomingMessageText);

            var response = GetTwilioResponseForEmployees(employees, incomingMessageText);

            return(new TwiMLResult(response));
        }