public IActionResult Index(string query) { var phones = _phoneService.GetAllByQuery(query); return(View(phones)); }