示例#1
0
 private void AddModelErrors(ResultStatus result)
 {
     foreach (var error in result.GetErrors())
     {
         ModelState.AddModelError(error.Key, error.Value);
     }
 }