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