<?php
    require "../../model/model_empleado.php";
    $MU = new Modelo_Empleado();//Instaciamos
    $consulta = $MU->Listar_Empleado();
    if($consulta){
        echo json_encode($consulta);
    }else{
        echo '{
            "sEcho": 1,
            "iTotalRecords": "0",
            "iTotalDisplayRecords": "0",
            "aaData": []
        }';
    }

?>   