VPR_Schnittstelle/Controller/TagesplanController.php

23 lines
586 B
PHP
Raw Normal View History

2023-12-20 09:12:15 +01:00
<?php
//Programmiert von: Max Heer, Getestet von:
namespace VPR_Schnittstelle\Controller;
use VPR_Schnittstelle\Libary\Msg;
use VPR_Schnittstelle\Model\TagesplanModel;
public function getTagesplan(){
$result=$this->db->getTagesplan();
return json_encode($result);
}
public function insertTagesplan($data){
$result=$this->db->insertTagesplan($data);
return json_encode($result);
}
public function deleteTagesplan($id){
$result=$this->db->deleteTagesplan($id);
return json_encode($result);
}
?>