コード例 #1
0
 public List <Agency> GetAllAgenciesByCity(string city)
 {
     if (string.IsNullOrEmpty(city))
     {
         return(_repository.GetAllAgencies());
     }
     else
     {
         return(_repository.GetAllAgenciesByCity(city));
     }
 }