public IActionResult Index(string querty) { var details = detailService.GetAllByQuery(querty); return(View("Index", details)); }