Example #1
0
 public bool Equals(SearchCustomersQuery other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(string.Equals(this.SearchText, other.SearchText));
 }
Example #2
0
 public Task <IList <CustomerPreview> > ExecuteAsync(SearchCustomersQuery query)
 {
     return(this._centronService.GetCustomersAsync(query.SearchText));
 }