-
I have a problem with creating new CRUD module while the stock modules (Brand and Products) are totally fine for creating and updating. Please check these series of code why it doesn't work and keeps on displaying error "One or more validation errors occurred.", Domain:
}` Application: public class CreateGroupRequestHandler : IRequestHandler<CreateGroupRequest, Guid>
} public class CreateGroupRequestValidator : CustomValidator
}` Controller: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You're not showing the most important part: the actual request you did and the response you received. If you get "one or more validation errors occurred" then those errors should also be part of the response... (also: you can use the "Add code" button here on github to format your code... You can even annotate it (the opening 3 backticks) with "c#" to make it colorful ;-)) |
Beta Was this translation helpful? Give feedback.
You're not showing the most important part: the actual request you did and the response you received.
If you get "one or more validation errors occurred" then those errors should also be part of the response...
(also: you can use the "Add code" button here on github to format your code... You can even annotate it (the opening 3 backticks) with "c#" to make it colorful ;-))