Beispiel #1
0
 public function dropBreak($id)
 {
     if (Schedule::dropBreak($id)) {
         return response()->json(['status' => 'success'], 200);
     } else {
         return response()->json(['status' => 'error'], 500);
     }
 }