Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void ValidateForSave(Login target, IValidationContext context) { context.SetField("id", target.Id); context.Missing(); context.SetField("name", target.Name); context.Required(); context.Text(); context.SetField("password", target.Password); context.Required(); context.Text(); context.SetField("enabled", target.Enabled); context.TrueFalse(); context.SetField("client", target.Client); context.Missing(); }