public ActionResult Guardar(SaveParameters parameters) { var transfer = new ClientTransfer(); var res = _clientesService.Guardar(parameters); if (res.HasErrors) { transfer.Errors.AddRange(res.Errors); } if (res.HasWarnings) { transfer.Warnings.AddRange(res.Warnings); } return(Json(transfer)); }