Skip to content

Instantly share code, notes, and snippets.

@DavidRogersDev
Last active April 18, 2020 23:21
Show Gist options
  • Save DavidRogersDev/f0c2921a28ce9097c26ab1d4c06f6a4d to your computer and use it in GitHub Desktop.
Save DavidRogersDev/f0c2921a28ce9097c26ab1d4c06f6a4d to your computer and use it in GitHub Desktop.
Gist for Medium Article - GetColorsQuery
public class GetColorsQuery : IRequest<Either<IEnumerable<ColorPayloadDto>, ValidationResult>>
{
// no properties necessary, as the query will return all Colors.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment