Posts by Leonardo Albuquerque Gil • 1 point
1 post
-
0
votes1
answer152
viewsA: JSON Customized for Dataannotations - Asp.Net Core Web Api
Good afternoon You can customize an error message using Dataannotation.Errormessage public class CreateAgentRequest { [Required(ErrorMessage="Mensagem de Erro")] public Agent Agent { get; set; } }…