public EmployeeInfo GetEmployee(EmployeeRequest request) { Console.WriteLine("License key = " + request.LicenseKey); var empFact = new EmployeeFactory(); var employee = empFact.GetFromDb(request.EmployeeId); var employeeInfo = EmployeeInfo.ConvertToEmployeeInfo(employee); return(employeeInfo); }