Example #1
0
 public ErrorsResponse(ModelStateDictionary fields)
 {
     Error = new ErrorsInfo(fields, new List <string>());
 }
Example #2
0
 public ErrorsResponse(IEnumerable <string> messages)
 {
     Error = new ErrorsInfo(new ModelStateDictionary(), messages);
 }