Last active
April 18, 2020 23:21
-
-
Save DavidRogersDev/f0c2921a28ce9097c26ab1d4c06f6a4d to your computer and use it in GitHub Desktop.
Gist for Medium Article - GetColorsQuery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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