Original post

I’m building a service that provides CRUD operations to a data layer. The service supports multiple types such as a Person and Winery. I’ve found myself with multiple types for each type such as CreatePerson, ReadPerson, DeletePerson, etc. I’ve done this primarily so that each “sub type” can have its own validation rules using tags.

I’m new to and wondering if there is a better way to do this in ?