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