Add js css in module .xml in Magento2

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
<head>
 <!-- for css file -->
 <css src="Dys_Ajaxsearch::css/ajaxsearch.css"/> 
 <!-- for js file -->
 <script src="Dys_Ajaxsearch::js/ajaxsearch.js"/>
</head>
</page>