コード例 #1
0
        public EmployeeModel Read(int id)
        {
            var employee = repoEmployees.Read(id);

            if (employee != null)
            {
                var readEmployee = new ConvertEmployee().ConvertModel(employee);


                return(readEmployee);
            }
            else
            {
                return(null);
            }
        }