コード例 #1
0
 public void OnGet(string searchCigars)
 {
     CigarsList = string.IsNullOrEmpty(searchCigars)
         ? _cigarData.GetCigarsList()
         : _cigarData.GetCigarsByCompanyName(searchCigars);
 }