$routes->group('admin', function($routes){
$routes->match(['get','post'],'login', 'Backend/AdminAuth::login');
$routes->match(['get','post'],'signup', 'Backend/AdminAuth::signup');
$routes->get('dashboard', 'Backend/Dashboard::index');
$routes->get('logout', 'Backend/AdminAuth::logout');
$routes->group('dashboard', function($routes){
$routes->match(['get','post'],'profile', 'Backend/AdminAuth::profile');
$routes->match(['get', 'post'], 'datas', 'Backend/Datass::index');
$routes->match(['get', 'post'], 'createdata', 'Backend/Datass::create');
$routes->match(['get', 'post'], 'save-data', 'Backend/Datass::savedata');
$routes->get('edit/(:any)', 'Backend/Datass::edit/$1'); <----
});
});