You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi
how to Error Handling when Create or update record (inline and incell) with kendo api?
[HttpPost]
public virtual async Task CreatePersonnels([Bind(Prefix = "models")]IEnumerable models)
{
_accountService.Value.AddPersonnels(new List(model);
await _unitOfWork.SaveAllChangesAsync();
}
var queryString = Request.Url.ParseQueryString().GetKey(0);
var request = JsonConvert.DeserializeObject(queryString);
var resultData = new List();
return Json(resultData.AsQueryable().ToDataSourceResult(request, ModelState));
}
ModelState not use with ToDataSourceResult
how to use server error in client?
thank you
The text was updated successfully, but these errors were encountered:
hi
how to Error Handling when Create or update record (inline and incell) with kendo api?
[HttpPost]
public virtual async Task CreatePersonnels([Bind(Prefix = "models")]IEnumerable models)
{
_accountService.Value.AddPersonnels(new List(model);
await _unitOfWork.SaveAllChangesAsync();
}
var queryString = Request.Url.ParseQueryString().GetKey(0);
var request = JsonConvert.DeserializeObject(queryString);
var resultData = new List();
return Json(resultData.AsQueryable().ToDataSourceResult(request, ModelState));
}
ModelState not use with ToDataSourceResult
how to use server error in client?
thank you
The text was updated successfully, but these errors were encountered: