Skip to content

Instantly share code, notes, and snippets.

@joeriks
Created October 28, 2013 09:12
Show Gist options
  • Select an option

  • Save joeriks/7193672 to your computer and use it in GitHub Desktop.

Select an option

Save joeriks/7193672 to your computer and use it in GitHub Desktop.
return filtered result with ServiceStack & F#
type ClientService() =
inherit Service()
member this.Any (req:ClientsRequest) =
Services.Data.Client.All()
|> filterType req
|> filterCity req
|> filterName req
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment